Skip to content

Soft fork of ProtonMail/go-crypto, with restored OpenPGP V3 packet support

License

Notifications You must be signed in to change notification settings

pgpkeys-eu/go-crypto

 
 

Repository files navigation

go get github.com/ProtonMail/go-crypto

This module is backwards compatible with x/crypto/openpgp, so you can simply replace all imports of golang.org/x/crypto/openpgp with github.com/ProtonMail/go-crypto/openpgp.

A partial list of changes is here: ProtonMail#21 (comment).

For the more extended API for reading and writing OpenPGP messages use github.com/ProtonMail/go-crypto/openpgp/v2, but it is not fully backwards compatible with golang.org/x/crypto/openpgp.

pgpkeys-eu fork

This soft fork of ProtonMail/go-crypto improves compatibility with older signatures by restoring code that was deprecated upstream. It is designed specifically for the needs of github.com/hockeypuck but may be useful for other projects.

To use, run the following commands in your golang project (replace COMMIT_ID with the desired hash):

go mod edit -replace github.com/ProtonMail/go-crypto=github.com/pgpkeys-eu/go-crypto@COMMIT_ID
go mod tidy

About

Soft fork of ProtonMail/go-crypto, with restored OpenPGP V3 packet support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%