anima-wg / constrained-voucher

This is a repo for the IETF Internet Draft about constrained vouchers in CBOR
2 stars 4 forks source link

Check if we need to say that Pledge MAY only support SID numbers (not text keys) in Voucher #267

Closed EskoDijk closed 1 year ago

EskoDijk commented 1 year ago

To check if we need to say that Pledge MAY only support SID numbers (not text keys) in Voucher. Using only SID numbers is a significant code savings. Though YANG/CBOR/SID in principle supports both SIDs/text-keys.

But since the MASA creates the Voucher, it will create it compatible with the Pledge - so e.g. using only SID numbers and not text-keys.

We could mention this as implementation hint maybe to steer readers into the right (less code) direction here. Or maybe it's already mentioned.