2
2
3
3
## Introduction
4
4
5
- srp libaray used in all Protonmail clients
5
+ Golang implementation of the [ SRP protocol ] ( https://datatracker.ietf.org/doc/html/rfc5054 ) , used for authentication of ProtonMail users.
6
6
7
7
## License
8
8
@@ -12,15 +12,19 @@ Please see [LICENSE](LICENSE.txt) file for the license.
12
12
13
13
## Doc
14
14
15
- [ Secure Remote Password (SRP) Protocol] ( https://protonmail.com/blog/encrypted_email_authentication/ )
15
+ - [ Technical blog post] ( https://protonmail.com/blog/encrypted_email_authentication/ )
16
+ - [ RFC 5054] ( https://datatracker.ietf.org/doc/html/rfc5054 )
16
17
17
- ## Folders
18
+ ## Replacement
18
19
19
- The ` root ` folder contains the main logic.
20
+ Make sure you replace the go module ` github.com/jameskeane/bcrypt `
21
+ with its fork ` github.com/ProtonMail/bcrypt `
20
22
21
- The ` windows ` folder contains the warpper for .net.
23
+ ## .NET Wrapper
22
24
23
- ## Setup
25
+ The ` windows ` folder contains the wrapper for .net.
26
+
27
+ ## Build for mobile apps
24
28
25
29
Setup Go Mobile and build/bind the source code:
26
30
@@ -51,7 +55,7 @@ If you wish to use `build.sh`, you may need to modify the paths in it.
51
55
#### use go mod
52
56
53
57
``` go
54
- go mod vender
58
+ go mod vendor
55
59
```
56
60
57
61
``` bash
@@ -65,12 +69,12 @@ glide i
65
69
./build.sh
66
70
```
67
71
68
- ### Dependencies
72
+ ## Dependencies
69
73
70
- [ bcrypt] ( https://github.com/jameskeane /bcrypt )
74
+ [ github.com/ProtonMail/ bcrypt (fork of github.com/jameskeane/bcrypt) ] ( https://github.com/ProtonMail /bcrypt )
71
75
72
76
[ golang.org/x/mobile] ( https://golang.org/x/mobile )
73
77
74
- [ ProtonMail Crypto ] ( https://github.com/ProtonMail/crypto )
78
+ [ github.com/ ProtonMail/go-crypto ] ( https://github.com/ProtonMail/go- crypto )
75
79
76
- [ Saferith ] ( https://github.com/cronokirby/saferith )
80
+ [ github.com/cronokirby/saferith ] ( https://github.com/cronokirby/saferith )
0 commit comments