| 1 |
``` |
| 2 |
go get github.com/ProtonMail/go-crypto |
| 3 |
``` |
| 4 |
|
| 5 |
This module is backwards compatible with x/crypto/openpgp, |
| 6 |
so you can simply replace all imports of `golang.org/x/crypto/openpgp` with |
| 7 |
`github.com/ProtonMail/go-crypto/openpgp`. |
| 8 |
|
| 9 |
A partial list of changes is here: https://github.com/ProtonMail/go-crypto/issues/21#issuecomment-492792917. |
| 10 |
|
| 11 |
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`. |