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

Any plans to support openssl pkeyutl? #1

Open
mflaxman opened this issue Jun 27, 2020 · 0 comments
Open

Any plans to support openssl pkeyutl? #1

mflaxman opened this issue Jun 27, 2020 · 0 comments

Comments

@mflaxman
Copy link

I'm trying to duplicate what is used by the key management systems for Google, AWS and IBM's cloud without calling out to openssl from my golang app:

$ echo "hello" | openssl pkeyutl -encrypt -pubin -inkey localpubkey.crt -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256 | openssl pkeyutl -decrypt -inkey localkey.pem -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256
hello

Doc links:

Thanks!

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

No branches or pull requests

1 participant