Add text on untrusted input to 1.0 - #759
Conversation
|
Given this text, is the following an accurate interpretation? In the following cases any wallet is mandated to abort processing if:
If the wallet supports encrypted response, it is mandated to abort processing if:
If the wallet supports the authority key identifier, it is mandated to abort processing if:
If the wallet supports signed requests and the wallet supports the x5c header, it is mandated to abort processing if:
|
@martijnharing After thinking through this a bit more, I think the pedantic answer is no. This says that a Wallet MUST do input validation, but the specific steps are only a SHOULD. So if you are a very pedantic Wallet, you probably could argue in the direction of doing "input validation" but not actually doing any of the things we consider to be input validation. I think that would be a case of malicious compliance that only hurts the Wallet itself. Orthogonally, this proposed text also does not say that the Wallet MUST do anything specific if the validation fails. If you want to strengthen it, we could add some text like we have in other places: "The Wallet MUST abort processing and return an error if any input did not pass the validation." I guess the error should be an |
Co-authored-by: Lukasz Jaromin <lukasz.jaromin@raidiam.com>
|
wg discussion |
Mirrors the changes of #748 for 1.0 errata.