Vervis/src/Crypto
fr33domlover 2a39378468 HTTP Signature verification: RSA-SHA256 and PEM/ASN1 support
Before, things worked like this:

* Only signatures of Ed25519 keys could be verified
* Key encoding placed the plain binary Ed25519 key in the PEM, instead of the
  key's ASN1 encoding

With this patch it now works like this:

* Ed25519 signatures are supported as before
* RSA keys are now supported too, assuming RSA-SHA256 signatures
* Both Ed25519 and RSA keys are encoded and decoded using actual PEM with ASN1
2019-03-10 23:15:42 +00:00
..
PubKey HTTP Signature verification: RSA-SHA256 and PEM/ASN1 support 2019-03-10 23:15:42 +00:00
PublicVerifKey.hs HTTP Signature verification: RSA-SHA256 and PEM/ASN1 support 2019-03-10 23:15:42 +00:00