ietf-openpgp
[Top] [All Lists]

Re: DRAFT status and Compatibility testing

2000-03-29 03:33:46
On Tue, 28 Mar 2000, William H. Geiger III wrote:

Most 2440 applications will also want to be PGP/MIME compliant.

I don't think so, it is good Unix practise to do layering and MIME is
something you need in MUAs and not in an encryption tool.  

The second part would be the "outbound" generation of RFC 2440 packets. We
should be able to have a set of "skeleton" packets that the tester could
use for compairison while ignoring the raw data (ie MPI's) that may be

It is not possible to simply compare the packets for a couple of reasons:
You should have random data in it, an implemenation has several 
choices to encode the packet length and and the order of subpackets is 
not regulated.  Doing some clever diffs over the output of a packet   
dumping tools would be possible.  

different. As an example the application being tested needs to generate a
v3 RSA public key. The tests could use the "skeleton" test packet to

(OpenPGP implementations SHOULD generate V4 keys (see 5.5.2))

IMHO, tTest scripts are the way to go; this is a lot of work unless we agree
on a common commandline interface and each implementation comes with a
wrapper for this interface.


   Werner


-- 
Werner Koch                             OpenPGP key 621CC013    
OpenIT GmbH i.G.                        tel   +49 211 465357                    
       
Birkenstr. 12                           email info(_at_)openit(_dot_)de         
                    
D-40233 Düsseldorf                      http://www.openit.de