With our experience of PEM/MIME implementation, I'd like to mention
several comments on draft-ietf-pem-mime-07.txt and
draft-ietf-pem-sigenc-02.txt. To avoid confusion, I'll explain one by
one.
My first issue is confirmation for <keysel> on
draft-ietf-pem-mime-07.txt.
On page 19 and 20, an example of Originator-ID is given as follows;
---
Originator-ID:PK,MHkwCgYEVQgBAQICAwADawAwaAJhAMAHQ45ywA357G4fqQ61aoC1fO6B=
ekJmG4475mJkwGIUxvDkwuxe/EFdPkXDGBxzdGrW1iuh5K8kl8KRGJ9wh1HU4TrghGdhn0Lw8g=
G67Dmb5cBhY9DGwq0CDnrpKZV3cQIDAQAB,EN,2,galvin(_at_)tis(_dot_)com
---
This shows us that <keysel> is '2'.
BNF of <keysel> is defined on page 28 and 32 as follows;
<keysel> ::= <encbin>
<encbin> ::= 1*<encbingrp>
<encbingrp> ::= 4*4<encbinchar>
<encbinchar> ::= ALPHA / DIGIT / "+" / "/" / "="
It seems me that <keysel> should consist of at least 4 characters with
this spec. But <keysel> example up above is only one character.
Please tell me whether my understanding is wrong or the I-D is
inconsistent.
--Kazu