Skip to content

x/crypto/openpgp: Could EncryptedKey.Decrypt be extended to help support keys kept in a hardware module #33301

@ragansa

Description

@ragansa

For all the same points made in: #15841
And similar to the change made in: https://go-review.googlesource.com/c/crypto/+/23802/

https://github.com/golang/crypto/blob/master/openpgp/packet/encrypted_key.go#L80-L86
Uses concrete implementations, could we instead take the decrypter interface instead?

Specifically, we're using a hardware backed RSA key and want to use it for PGP decryption.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions