10
submitted 4 weeks ago* (last edited 4 weeks ago) by akunohana@piefed.blahaj.zone to c/techsupport@lemmy.world

I encrypted a message by:

  1. Typing gpg --encrypt --armor --recipient [recipient]
  2. Hitting enter
  3. Typing the message to be encrypted
  4. Exiting/finishing with "ctrl + d"

However, I needed to press "ctrl + d" twice, for some reason. Maybe a Termux bug? Although I haven't tried it on a normal Linux distro, so maybe this is normal?

Question: if it isn't normal, did gpg encode/include the first "ctrld" in the encrypted message? If it did, I need to contact the recipient to tell them to disregard the message... 🤣

Naturally, I cannot reverse the message since it's encrypted with the recipient's public key.

you are viewing a single comment's thread
view the rest of the comments
[-] vext01@feddit.uk 2 points 4 weeks ago

I think I've seen this with patch too, when pasting a diff into stdin.

I think its normal.

this post was submitted on 29 Apr 2026
10 points (100.0% liked)

techsupport

3139 readers
3 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 3 years ago
MODERATORS