Hi everyone,
I'm using pyasn1-modules to build a small cmp client (subset of rfc4210). I think there is a mistake in the rfc4210 module in the PKIHeader class.
The last entry should be
namedtype.OptionalNamedType(
'generalInfo', univ.SequenceOf(
componentType=rfc4210.InfoTypeAndValue().subtype(
sizeSpec=constraint.ValueSizeConstraint(1, MAX))
).subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 8))
)
instead of
namedtype.OptionalNamedType(
'generalInfo', univ.SequenceOf(
componentType=InfoTypeAndValue().subtype(
sizeSpec=constraint.ValueSizeConstraint(1, MAX),
explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 8)
)
)
Stumbled over this when I tried to use cmp implicit confirm. The top code shows how I was able to get it running with a CA-Software.
Thanks,
Alex
Hi everyone,
I'm using pyasn1-modules to build a small cmp client (subset of rfc4210). I think there is a mistake in the rfc4210 module in the PKIHeader class.
The last entry should be
instead of
Stumbled over this when I tried to use cmp implicit confirm. The top code shows how I was able to get it running with a CA-Software.
Thanks,
Alex