keybase / go-crypto

[mirror] Go supplementary cryptography libraries
https://godoc.org/golang.org/x/crypto
BSD 3-Clause "New" or "Revised" License
50 stars 20 forks source link

Load ElGamal Sign or Encrypt keys #60

Closed zapu closed 6 years ago

zapu commented 6 years ago

Do not bail out when reading algo=20 key. Instead, try to parse and verify key, but make sure it's unusable and ends up in BadSubkeys.

Related to https://github.com/keybase/client/issues/9917