cfrg / draft-irtf-cfrg-hpke

Hybrid Public Key Encryption
Other
49 stars 29 forks source link

Add some API consideration text. #225

Closed chris-wood closed 3 years ago

chris-wood commented 3 years ago

Opening as a draft for now. I don't think this text is perfect, but I hope the direction is clear. In general, I'm trying to say that errors can change as a function of the algorithms in use, and users of HPKE should account for that.

cc @davidben, @jedisct1, @blipp, @rozbb, @franziskuskiefer, @fredericjacobs, @martinthomson (from the issue)

Closes #221 (?)

chris-wood commented 3 years ago

Right now Sec. 4 mentions some of the explicit errors, but not all. I wonder how this new section should relate to the errors mentioned in Sec 4 and if there should have a complete overview/list of all the explicit errors.

That's not a bad idea. The explicit errors in the document are sort of scattered throughout the text. Listing them in one place might be useful.

chris-wood commented 3 years ago

Thanks, @blipp! I applied your suggestions.

chris-wood commented 3 years ago

@davidben, @bifurcation, @franziskuskiefer: please re-review if you can! @martinthomson, your eyes here would also be welcome.

davidben commented 3 years ago

(Belated LGTM.)