I tried to encrypt a large plaintext, more than 500 lines of text,
using the following command on a Windows machine
gpg2 --expert -e -a -r 0xFFFFFFFF
I got the result displayed on the screen, as usual.
But the result was a mix of the original plaintext, which I pasted
in the commend line window as stdin, and the ciphertext.
On 04/28/2017 07:10 PM, Paranoid Pete wrote:
I tried to encrypt a large plaintext, more than 500 lines of text,
using the following command on a Windows machine
gpg2 --expert -e -a -r 0xFFFFFFFF
I got the result displayed on the screen, as usual.
But the result was a mix of the original plaintext, which I pasted
in the commend line window as stdin, and the ciphertext.
Two solutions
1) You can type your very long text into a file (in.txt) and save.
Then use this command to output the resulting encrypted text
to a file (out.asc).
gpg2 -e -a -r 0xDEADBEEF < in.txt > out.asc
2) If you prefer to input your text directly into the terminal try this:
gpg2 -e -a -r 0xDEADBEEF > out.asc
Type or Copy/Paste your message
Then do CTL-D
On 04/28/2017 07:10 PM, Paranoid Pete wrote:
I tried to encrypt a large plaintext, more than 500 lines of text,
using the following command on a Windows machine
gpg2 --expert -e -a -r 0xFFFFFFFF
I got the result displayed on the screen, as usual.
But the result was a mix of the original plaintext, which I pasted
in the commend line window as stdin, and the ciphertext.
Two solutions
1) You can type your very long text into a file (in.txt) and save.
Then use this command to output the resulting encrypted text
to a file (out.asc).
gpg2 -e -a -r 0xDEADBEEF < in.txt > out.asc
2) If you prefer to input your text directly into the terminal try this:
gpg2 -e -a -r 0xDEADBEEF > out.asc
Type or Copy/Paste your message
Then do CTL-D
SEC3 Pinger Admin
Contact information at <https://sec3.net>
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 73:49:08 |
Calls: | 6,489 |
Calls today: | 2 |
Files: | 12,096 |
Messages: | 5,275,926 |