ietf-openpgp
[Top] [All Lists]

Re: PGP/MIME interop testing: Very first steps towards a test suite.

2000-03-30 03:35:33
On 2000-03-30 11:09:56 +0100, Ian Bell wrote:

    PGP can generate either ASCII armor (described in
    [3]) or 8-bit binary output when encrypting data,
    generating a digital signature, or extracting
    public key data.  The ASCII armor output is the
    REQUIRED method for data transfer.

So binary-mode signatures are forbidden, and remain so
in the new draft.

We are talking about different things here.  

What you are quoting concerns PGP's _output_ format.

The test is about signature types 0 (binary document) and
1 (canonical text document), see section 5.2.1 of RFC
2440.  The point here is that, with type 0 signatures, any
PGP/MIME implemenation must make sure that the proper line
endings are passed to the PGP back-end, while, with type 1
signatures in mind, one may be tempted to short-cut this
requirement from the PGP/MIME document and leave line-end
con versions to the back-end.

(Note that this should actually work nicely when
_generating_ signatures.  Actually, I don't even know
whether any existing implementation really generates type
0 signatures with PGP/MIME.)

-- 
http://www.guug.de/~roessler/