-
Notifications
You must be signed in to change notification settings - Fork 37
add user_pin_length and user_pin_description to Credential Offer #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Daniel Fett <fett@danielfett.de>
Co-authored-by: Giuseppe De Marco <demarcog83@gmail.com>
…iption on Token Request
Co-authored-by: Daniel Fett <fett@danielfett.de>
Co-authored-by: Daniel Fett <fett@danielfett.de>
Co-authored-by: Joseph Heenan <joseph@heenan.me.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add pin type? It is needed to decide whether to show the alphanumeric or numeric keyboard to the user.
Right now it is only allowed to have numeric PIN with 4-8 digits. I'm open to change these constraints. |
|
Also, we should think about incorporating the bike-shedding from #96 before merging this |
|
I applied changes from the bikeshedding discussion #96 . Do we have consensus on adding the alphabet? Adding |
|
There seem to be about 20 instances of PIN still in the spec that I think at least some of still need to be changed? |
|
solved |
I like the suggestion. we can also use |
Co-authored-by: Kristina <52878547+Sakurann@users.noreply.github.com>
| * `pre-authorized_code`: REQUIRED. The code representing the Credential Issuer's authorization for the Wallet to obtain Credentials of a certain type. This code MUST be short lived and single use. If the Wallet decides to use the Pre-Authorized Code Flow, this parameter value MUST be included in the subsequent Token Request with the Pre-Authorized Code Flow. | ||
| * `user_pin_required`: OPTIONAL. Boolean value specifying whether the AS expects presentation of the End-User PIN along with the Token Request in a Pre-Authorized Code Flow. Default is `false`. This PIN is intended to bind the Pre-Authorized Code to a certain transaction to prevent replay of this code by an attacker that, for example, scanned the QR code while standing behind the legitimate End-User. It is RECOMMENDED to send a PIN via a separate channel. If the Wallet decides to use the Pre-Authorized Code Flow, a PIN value MUST be sent in the `user_pin` parameter with the respective Token Request. | ||
| * `tx_code`: OPTIONAL. An object specifying whether the AS expects presentation of a Transaction Code by the End-User along with the Token Request in a Pre-Authorized Code Flow. If the AS does not expect a Transaction Code, this object is absent, this is the default. The Transaction Code is intended to bind the Pre-Authorized Code to a certain transaction to prevent replay of this code by an attacker that, for example, scanned the QR code while standing behind the legitimate End-User. It is RECOMMENDED to send the Transaction Code via a separate channel. If the Wallet decides to use the Pre-Authorized Code Flow, the Transaction Code value MUST be sent in the `tx_code` parameter with the respective Token Request as defined in (#token_request). If no `length` or `description` is given, this object may be empty, indicating that a Transaction Code is required. | ||
| * `input_mode` : OPTIONAL. String specifying the input characters set. Possible values are `numeric` (only digits) and `text` (any character). The default is `numeric`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this say that this input_mode can also control the keyboard being displayed to the user?
Closes #10
The proposal follows discussions in the issue and in the DCP workshop before iiw#37.