How asymmetrically encrypt under windows ( CLI )

Hi,

How can we (under Windows...) encrypt file (or stdout) asymmetrically ? (best will be with ECC)

I see I'm not alone with this question https://security.stackexchange.com/questions/86721/can-i-specify-a-public-key-file-instead-of-recipient-when-encrypting-with-gpg

Apparently with GnuPG (bin for Windows) it's not working the best, you have first to import the public key ..

And ideas, or alternatives ?

Thanks.

4 points · 5 comments · view on lemmy.world

5 Comments

hatedbad@lemmy.sdf.org · 1 pts · 2y (3 replies)

have you tried openssl?

Rick_C137@programming.dev · 1 pts · 2y (2 replies)

not yet, I didn't find enough documentation about that topic.

hatedbad@lemmy.sdf.org · 1 pts · 2y (1 reply)

this post seems nice and succinct, not sure about ECC but RSA certainly seems easy enough

Rick_C137@programming.dev · 1 pts · 2y

Hey @hatedbad@lemmy.sdf.org

Thanks for your output, but RSA seem to not be recommended anymore, dig on a search engine..

Link@programming.dev · 1 pts · 2y
[ removed ]
Rick_C137@programming.dev · 1 pts · 2y

I've gave a longer trial to gpg4win and it's very power full and easy to use ! Of course it's pointless to use such a nice tool on a none air-gaped Windows..

For the others there is Gnu-Linux :)