Skip to content

Conversation

@yusufpapurcu
Copy link
Contributor

Functions tested with CryptoJS on the signup function. Worked.

Copy link
Collaborator

@yakuter yakuter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried it. Works fine, thank you @yusufpapurcu great job ;)

@yakuter yakuter merged commit c97f4f8 into passwall:master Jul 21, 2020
@@ -0,0 +1,52 @@
package app
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be beneficial for all to have test cases (unit tests) as well. This way, no one need to run entire application to be sure whether it is working or not. @yusufpapurcu
Just a suggestion ;)
Well done, you did a great job, by the way ;)

@yakuter
Copy link
Collaborator

yakuter commented Jul 21, 2020

As @mrturkmencom mentioned, tests are important. Can you add test for two functions in crypto.go.

By the way let me show you something :D Now we can encrypt the json data it self with a transmission key generated in server side and changes with every token generation :)

Frontend:
Screen Shot 2020-07-21 at 13 22 21

Backend:
Screen Shot 2020-07-21 at 13 23 48

@yusufpapurcu
Copy link
Contributor Author

I'll write test but have a little problem. Can i add tests commit here. Or must I open new pr for this.

@yakuter
Copy link
Collaborator

yakuter commented Jul 21, 2020

I already merged. So please open new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants