diff --git a/dip-URI-proof-of-identity-seigler.md b/dip-URI-proof-of-identity-seigler.md index d758ba1..a2d5fde 100644 --- a/dip-URI-proof-of-identity-seigler.md +++ b/dip-URI-proof-of-identity-seigler.md @@ -64,10 +64,12 @@ corresponding UTF-8 sequence must be percent-encoded as described in RFC 3986. dashurn = "dash:" dashaddress [ "?" dashparams ] dashaddress = *base58 dashparams = dashparam [ "&" dashparams ] - dashparam = [ amountparam / labelparam / messageparam / otherparam / reqparam ] + dashparam = [ amountparam / labelparam / messageparam / idparam / proofparam / otherparam / reqparam ] amountparam = "amount=" *digit [ "." *digit ] labelparam = "label=" *qchar messageparam = "message=" *qchar + idparam = "id=" *base58 + proofparam = "proof=" *base58 otherparam = qchar *qchar [ "=" *qchar ] reqparam = "req-" qchar *qchar [ "=" *qchar ] @@ -81,10 +83,12 @@ is case-sensitive, including the query parameter keys. Query Keys - label: Label for that address (e.g. name of receiver) + label: Label for that address or DPNS name for user address: dash address message: message that describes the transaction to the user (see examples below) - size: amount of base dash units (see below) + amount: amount of base dash units (see below) + id: platform ID used for proof + proof: value of [address] field, signed by the private key of [id] (others): optional, for future extensions Transfer amount/size @@ -99,7 +103,11 @@ deceive the user. They SHOULD choose a format that is foremost least confusing, and only after that most reasonable given the amount requested. For example, so long as the majority of users work in Dash units, values should always be displayed in Dash by default, even if mDash or something else would be a more -logical interpretation of the amount. +logical interpretation of the amount. + +Dash clients MAY display the profile of a user indicated by the label field, if +the ID and proof are validated by DAPI. If the ID and proof do not match the +label, clients SHOULD indicate the mismatch in some way, e.g. with a warning. ## Appendix ### Simpler syntax @@ -109,35 +117,35 @@ the BNF grammar above for the normative syntax. [foo] means optional, are placeholders - dash:
[?amount=][?label=