Article View: es.comp.os.linux.programacion
Article #17302Re: Problemas portando pgp5 para slrn
From: Javier Cantero
Date: Mon, 24 Jan 2000 00:00
Date: Mon, 24 Jan 2000 00:00
102 lines
4638 bytes
4638 bytes
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> El 20 Jan 2000 00:31:10 GMT, "Han Solo"
>>>>> nos contaba en es.comp.os.linux.programacion:
>Estoy intentando portar lso scripts para que funcione el pgp en slrn a la
>versi�n 5. Estos scripts los encontr� en la p�gina de Javier Cantero
>(gracias Javier), pero son para pgp2 o GPG.
Hola, perdona la tardanza en contestar y de nada O:-).
>El problema viene al firmar el mensaje (cuando consiga esto, me meter� a
>verificar la firma, que esa va ser otra...). El asunto es jodido porque si
>empleamos un juego de caracteres de 8 bit, en vez de firmar, cifra (�?). Si
>el juego de caracteres es de 7 bit, la firma la hace bien.
No puedo probarlo, porque no tengo PGP5. Pero verdaderamente es
una guarrada lo que te hace.
> pgps -at *
S�lo una pregunta chorra por mi parte: �te hace lo mismo si
haces
pgps -at a
pgps -at b
?
Otra cosa, esto est� sacado de la p�gina de pgp, pero igual te
da una pista:
TEXTMODE - Assuming Plaintext is a Text File
Default setting: TEXTMODE = off
The configuration parameter TEXTMODE is equivalent to the
-t command line option. If enabled, it causes PGP to
assume the plaintext is a text file, not a binary file,
and converts it to "canonical text" before encrypting it.
Canonical text has a carriage return and a linefeed at the
end of each line of text.
This mode is automatically turned off if PGP detects that
the plaintext file contains 8-bit binary data. Thus, it
is safe to leave enabled at all times.
>Debe haber alguana forma de hacerlo, pues el mutt lo hace, pero no se c�mo.
>El caso es que admite el par�metro +charset=algo, pero como no est�
>documentado, no se que valoes puede tomar algo (es seguro que puede ser
>noconv, porque no protesta, pero no admite latin1 o iso-8859-1).
En el man de PGP s�lo viene esto:
CHARSET - Character Set
Default setting: CHARSET = noconv
PGP tries to translate all text-mode messages into the ISO
Latin-1 alphabet, or the KOI-8 alphabet for cyrillic
alphabets. This setting indicates the native character
set, so PGP can do the translation. Options are noconv,
latin1 or koi8, indicating that no translation should be
done; cp850, indicating that IBM PC code page 850 mappings
should be used; ascii, indicating that a minimal ASCII
subset should be used; and alt_codes, indicating that the
IBM PC alt codes should be used for the cyrillic alphabet.
La �nica cosa que se me ocurre es que eleves el nivel de
"verbose" a ver si te da alguna pista de lo que est� pasando. De
nuevo, de man pgp:
VERBOSE - Level of Detail Printed
Default setting: VERBOSE = 1
When set to 0, PGP only prints messages that are necessary
or indicate an error. When set to 2, PGP prints a signif-
icant amount of debugging information describing what it's
doing. Values above 2 have no effect.
Saludos de Javier Cantero
(mi email de verdad: jcantero at jet.es)
- --
"Que los wrappers te acompa�en" (Wietse Venema)
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Clave publica via e-mail: envieme un mensaje con Subject: [PGPKEY]
iQEVAwUBOIxyffcWKyXsT73ZAQG3iAgA5h5enHVFuHa+d3GVH7v2YpYI8/9tATd8
mMinqjfYagQpKQAo8H5obn4b+FOut3yEhkHrtrkZnumnxFEdb7ECIsr2nTB4Cbtj
iH+P6TiMj7kZHWGyjaV62cYI9QXYriNLoWM7bJRp5jdDfAfSzrOd0goVi+z4g6P7
/z9JzszXL37f6K9rK7hDKugWhLC6uDoYZEwIXz0gVQRdb3FRUR5k54pk6fzNlpT3
toj1O6d7PcQxn3ez3vIzYEcaEkIWn2CoNel3hHnp+ZQWaEsRKg0HVoU6TCueUKZT
vMdhK6LLF6uKngaHY3IE5naaWSdHZhvN6ILo2EdQ4ylvnb8AEifzXg==
=G2eJ
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<slrn88osjm.b0.javier@eb2dsn.ampr.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<slrn88clqe.2mt.hsolo@alderaan.maptel.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,4a1d140b5369a4a9 X-Google-Attributes: gidf86c8,public X-Google-Thread: fced1,4a1d140b5369a4a9 X-Google-Attributes: gidfced1,public From: javier@eb2dsn.ampr.org (Javier Cantero) Subject: Re: Problemas portando pgp5 para slrn Date: 2000/01/24 Message-ID: <slrn88osjm.b0.javier@eb2dsn.ampr.org> X-Deja-AN: 576950392 Content-Transfer-Encoding: 8bit References: <slrn88clqe.2mt.hsolo@alderaan.maptel.es> Organization: Grupo de Usuarios de Linux de Alava <http://gula.jet.es/> Content-Type: text/plain; charset=iso-8859-1 User-Agent: slrn/0.9.5.3 (UNIX) Mime-Version: 1.0 Newsgroups: es.comp.os.linux.programacion,es.comp.linux.misc