this post was submitted on 19 Nov 2023
4 points (100.0% liked)

Security

725 readers
1 users here now

A community for discussion about cybersecurity, hacking, cybersecurity news, exploits, bounties etc.

Rules :

  1. All instance-wide rules apply.
  2. Keep it totally legal.
  3. Remember the human, be civil.
  4. Be helpful, don't be rude.

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

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.

all 6 comments
sorted by: hot top controversial new old
[–] hatedbad@lemmy.sdf.org 1 points 1 year ago (1 children)
[–] Rick_C137@programming.dev 1 points 1 year ago (1 children)

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

[–] hatedbad@lemmy.sdf.org 1 points 1 year ago (1 children)

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

[–] Rick_C137@programming.dev 1 points 1 year ago

Hey @hatedbad@lemmy.sdf.org

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

[–] Rick_C137@programming.dev 1 points 1 year ago

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 :)