Commit Graph

6 Commits

Author SHA1 Message Date
Daniel Bertalan c483823b5c Use Protonmail fork of golang.org/x/crypto
Adds support for ed25519 (termed State-of-the-art by PM) private
keys. SRP modulus signature verification segfaults, so I commented
it out.
2020-07-02 12:23:44 +02:00
Simon Ser fc1618d086
protonmail: improve errors 2019-04-14 19:07:03 +03:00
Simon Ser 93c8007937
protonmail: make SRP modulus signature failures a warning
Temporarily make signature errors non-fatal because the Go OpenPGP library is
missing some features we need:

    openpgp: unsupported feature: public key algorithm 22

This doesn't really weaken our security since we weren't checking the signature
key anyway. To completely fix this issue, we need to upstream the required
key algorithm.

Fixes https://github.com/emersion/hydroxide/issues/46
2019-04-13 13:58:21 +03:00
emersion d964a951a0
go fmt 2017-08-22 10:16:20 +02:00
emersion 653a8a0dc0
Add Auth, add computeKeyPassword 2017-08-22 09:41:47 +02:00
emersion dac767c4bf
Add authentication support 2017-08-22 00:04:16 +02:00