Is this supposed to happen?

Werner Koch wk at gnupg.org
Fri Jul 17 19:56:56 CEST 2020


On Fri, 17 Jul 2020 09:17, Ayoub Misherghi said:
> Is this supposed to happen?

Yes.

As almost all Unix tools, gpg defaults to take input from stdin and
writes output to stdout.  Because you did not use --armor the output is
binary and messes up your tty.  The reason why already get some output
despite that you have nothing typed in yet (stdin is per default the
current tty) is due to buffering: gpg already outputs the OpenPGP header
data (encrypted session key) and now waits for the actual data to show
up at stdin.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200717/9ffe3e99/attachment.sig>


More information about the Gnupg-users mailing list