ietf-openpgp
[Top] [All Lists]

Re: the micalg parameter

1998-09-10 02:26:42
On Thu, Sep 10, 1998 at 07:10:22AM +0900, Kazu Yamamoto
wrote:

There is nothing in the RFC which says an implementation

Which does this "the RFC" refer to, RFC 1847 or RFC 2015?

2015.  1847 says that certain conditions must be treated
as an error, but this doesn't mean that it has to be
evaluated at all.

This interpretation is just yours. Since RFC2015 doesn't say accepting
manner explicitly, there are two possibilities.

      (1) mis-match is legal
              -> MAY ignore the micalg parameter
      (2) mis-match is illegal
              -> treat it as garbage? (in your terminology)

Now, why do you think that a mis-match being illegal means
that an implementation can't be robust and ignore the
parameter in this case?  The behaviour is simply undefined, so 
the choice is yours - conform to the GIGO principle or try  
to handle things smoothly.

Actually, I find this situation just fine, so why should
anyone want to change it?

tlr

<Prev in Thread] Current Thread [Next in Thread>