You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't find anything to return the KeyRing interface and implement it with the KeyRing interface. I don't know how to use the ReadMessage method to Decrypt message with my GPG private key.
What did you see instead?
I don't know how to create KeyRing. I see the other example and tutorial over the internet they can use *[]EntityList that returns from ReadKeyRing and ReadArmoredKeyRing
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I want to use the ReadMessage method
https://github.com/golang/crypto/blob/530e935923ad688be97c15eeb8e5ee42ebf2b54a/openpgp/read.go#L86
I found that receive the KeyRing interface as a parameter
https://github.com/golang/crypto/blob/e1dfcc566284e143ba8f9afbb3fa563f2a0d212b/openpgp/keys.go#L61
What did you expect to see?
I can't find anything to return the KeyRing interface and implement it with the KeyRing interface. I don't know how to use the ReadMessage method to Decrypt message with my GPG private key.
What did you see instead?
I don't know how to create KeyRing. I see the other example and tutorial over the internet they can use *[]EntityList that returns from ReadKeyRing and ReadArmoredKeyRing
https://github.com/golang/crypto/blob/e1dfcc566284e143ba8f9afbb3fa563f2a0d212b/openpgp/keys.go#L253
The text was updated successfully, but these errors were encountered: