Fwd: Format to PGP
Lionel Elie Mamane
lionel@mamane.lu
Sun May 20 23:00:01 2001
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, May 20, 2001 at 07:21:14PM +0200, Ingo Kl=F6cker wrote:
> > In short, Unix, MS-DOS and MacOS all use different ways to end the
> > current line in text, and --textmode will convert from your OS way
> > to a common way all GPG's and PGP's understand and will convert to
> > their host OS format.
> I just encrypted a text to myself. One time with --textmode and
> another time without --textmode. There was no difference in the
> decrypted output. But this may of course be due to the fact that I
> didn't decrypt it under another OS.
Exactly.
> The text encrypted with the --textmode option is slightly bigger
> than the version encrypted without --textmode.
Want the full story? OK, here it goes:
Unix ends the line with a ctrl-j (ascii code hex 0x0A =3D=3D 10 decimal),
called a Line Feed (LF).
MacOS uses ctrl-M (ascii code decimal 013, hex 0d), called a Carriage
Return (CR).
DOS and Windows end the line with CR LF (yes, two chars).
"Canonical text mode", used for ascii FTP transfers and "textmode"
OpenPGP is CR LF.
You are using some *nix variant, so canonical text mode is longer than
native, indeed.
--=20
Lionel Elie Mamane
RFC 1991 (PGP 2.x) 2048 bits Key Fingerprint (KeyID: 20C897E9):
85CF 986F 263E 8CD0 80FD 4B8C F5F9 C17D
OpenPGP DH/DSS 4096/1024 Key Fingerprint (KeyID: 3E7B4B73):
9DAD 3131 3ADA F50B D096 002A B1C4 7317 3E7B 4B73
--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7CDBYscRzFz57S3MRAriJAKCUs5H1H/oHVMU4bVu/35eixhKZfwCfWLTn
j21yINgaVuH+uddbrS1sfog=
=yaEK
-----END PGP SIGNATURE-----
--liOOAslEiF7prFVr--