lamps-wg / cmp-updates

RFC4210bis and RFC6712bis
Other
2 stars 5 forks source link

Content of KemOtherInfo in Section 5.1.3.4 #39

Closed HBrock closed 5 months ago

HBrock commented 6 months ago

Decide on the content of KemOtherInfo decpending on the conclusions taken in cms-kemri The goal is to use the algorithm specification for use with CMS also for use with CMP.

KemOtherInfo ::= SEQUENCE {
  staticString      PKIFreeText,
  transactionID     OCTET STRING,
  ct                OCTET STRING
}

Questions:

HBrock commented 6 months ago

We decided to change to

KemOtherInfo ::= SEQUENCE {
  staticString      PKIFreeText,
  transactionID     OCTET STRING,
  kemContext    [0] OCTET STRING OPTIONAL
}

and

kemContext MAY contain additional algorithm specific context information.

and further wait for cms-kemri

HBrock commented 5 months ago

As we cannot expect the the content of kemContext is implicit, I also added kemContect to KemCiphertextInfo.

  KemCiphertextInfo ::= SEQUENCE {
    kem              AlgorithmIdentifier{KEM-ALGORITHM, {...}},
    ct               OCTET STRING,
    kemContext   [0] OCTET STRING OPTIONAL
  }

This is in line with cms-kemri where KEMRecipientInfo also transfers ukm.

HBrock commented 5 months ago

Alignment meeting 26.02.24 I will move the kemContext from the KemCiphertextInfo to the KemBMParameters structure