ProtonMail / go-crypto

Fork of go/x/crypto, providing an up-to-date OpenPGP implementation
https://pkg.go.dev/github.com/ProtonMail/go-crypto
BSD 3-Clause "New" or "Revised" License
328 stars 99 forks source link

New feature: Added the function `NewEntityFromKey` that allows passing pre-created RSA, ECDSA or Ed25519 keys. #201

Open balena opened 5 months ago

balena commented 5 months ago

The objective of this PR is to add the possibility of passing pre-created RSA, ECDSA or Ed25519 keys, possibly coming from deterministic sources such as used in key derivation.

As other elliptic curves such as secp256k1 aren't supported by Go standard libraries, I left them aside.

tv2-mnilsen commented 4 days ago

Wanted feature! Right now its very hard to just use ur existing ssh keypair for the signed commits