matje / dnsop-kasp

Describing the format of key policy documents
0 stars 0 forks source link

Type <Serial> is string, should it be enum? #1

Open matje opened 10 years ago

matje commented 10 years ago

Yuri:

Perhaps Serial should not be defined as a string but rather a type that has one of the above values.

jelu commented 10 years ago

I do not know if this should be so very strict, maybe it should just be a string and it is up to the implementation what kind of serials they support. The list of serials we have today in OpenDNSSEC could just be examples.

matje commented 10 years ago

I would like to ensure that when using the datecounter serial for example, that everybody implements the same behavior.

jelu commented 10 years ago

I don't feel like the behavior of things should be describe in this document, this is only to have a common data structure. Is the behavior described in another draft/RFC/BCP which we can point to and recommend?

matje commented 10 years ago

I think we should couple behavior to the elements: So that if a policy is used in multiple signers (from different code bases) the same behavior set forth by the policy can be expected.

jelu commented 10 years ago

Sure, I just don't want it forced and strict. I think it should be loose and extendable. Also, if the behavior is define elsewhere then we should refer to it and not redefine it.

matje commented 10 years ago

In principle I agree. However in practice it is hard to specify behavior loosely, as you allow for ambiguous interpretations. Perhaps a discussion for the wg.

jelu commented 10 years ago

I did not mean to loosly define behavior, what I think is:

matje commented 10 years ago