We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to generate a private Ed25519 Key, but eddsa.GenerateKey expects an ecc.EdDSACurve and NewEd25519 is inside an internal package :/
Is there a way to generate a private Ed25519 Key like in
go-crypto/openpgp/packet/private_key_test.go
Line 401 in 7e9e039
The text was updated successfully, but these errors were encountered:
Hi 👋 Thanks for pointing this out. It is possible to generate an Ed25519 PGP key as follows:
config := &packet.Config{ Algorithm: packet.PubKeyAlgoEdDSA, } entity, err := openpgp.NewEntity("test", "", "[email protected]", config)
The primary private key entity.PrivateKey is an Ed25519 private key.
entity.PrivateKey
Sorry, something went wrong.
This PR solves a similar issue: #157
No branches or pull requests
I try to generate a private Ed25519 Key, but eddsa.GenerateKey expects an ecc.EdDSACurve and NewEd25519 is inside an internal package :/
Is there a way to generate a private Ed25519 Key like in
go-crypto/openpgp/packet/private_key_test.go
Line 401 in 7e9e039
The text was updated successfully, but these errors were encountered: