Skip to content
New issue

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

Add support for ed25519 keys #9

Open
invidian opened this issue Sep 30, 2021 · 2 comments
Open

Add support for ed25519 keys #9

invidian opened this issue Sep 30, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@invidian
Copy link
Owner

Right now using them throws an error:

Error: getting recipients: decoding public key #0: parsing public key: openpgp: unsupported feature: public key type: 22

This can be done by migrating to https://gopenpgp.org/, https://pkg.go.dev/github.com/ProtonMail/gopenpgp/v2/crypto

@invidian invidian added the enhancement New feature or request label Sep 30, 2021
@bmaximuml
Copy link

Hi @invidian, this feature would be very useful to me! We use this provider at my org, and we're all using RSA keys as a result. Would be great to be able to start using ed25519

Thanks

@invidian
Copy link
Owner Author

Hi @invidian, this feature would be very useful to me! We use this provider at my org, and we're all using RSA keys as a result. Would be great to be able to start using ed25519

Thanks for the feedback. Unfortunately, I don't think I will have time to implement this, although I could also make use of this feature. I would accept a contribution though and I'm happy to make a new release then.

I hope the SDK libraries are not too old for newest Terraform version though. I'm guessing gpg_encrypted_message resource could actually become a function too, now that Terraform supports providers exporting custom functions, since there is nothing stateful IIUC in the GPG messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants