Giter Site home page Giter Site logo

Comments (6)

0xCLARITY avatar 0xCLARITY commented on June 22, 2024 2

The Verifiable PayID Protocol is a bit outdated in that we've moved away from SignatureWrapper.

The reference server supports the Self-Sovereign Verifiable PayID format. Note that this is really just a JWS, so the protected and signature keys are base64 encoded, and the payload is stringified. In the PayID RFC they are shown unencoded and unstringified to help understand what is inside those keys.

from rfcs.

aanchal4 avatar aanchal4 commented on June 22, 2024 1

Thanks @wshbair for pointing this out.

@hbergren Ideally I would like to update the Verifiable PayID Protocol soon. In the mean time, the best way to avoid this confusion is to add the following to the respective RFCs.

  1. "Obsoletes Verifiable PayID Protocol" to Self-Sovereign Verifiable PayID
  2. "Updated by Self-Sovereign Verifiable PayID" to Verifiable PayID Protocol

Probably this not the ideal way, but would help avoid confusion until I update the Verifiable PayID Protocol draft.

@sappenin What do you think?

from rfcs.

sappenin avatar sappenin commented on June 22, 2024 1

@aanchal4 that sounds fine to me. I created some tasks for this that we can track internally.

I'm going to close this issue as it seems to be resolved for purposes of the problem @wshbair was having (@wshbair if there's still a concern here, feel free to re-open).

from rfcs.

0xCLARITY avatar 0xCLARITY commented on June 22, 2024

@wshbair , what was different between the PayID server and the RFC?

from rfcs.

wshbair avatar wshbair commented on June 22, 2024

For example, this is the return of API of GET request (http://127.0.0.1:8080/wazen)
{ "addresses": [], "verifiedAddresses": [ { "signatures": [ { "name": "testing", "protected": "", "signature": "d2hhdCBhbSBJIGNvZGluZyB3aGF0IGlzIGxpZmUgcGxlYXNlIGhlbHA=" } ], "payload": "{\"payId\":\"wazen$127.0.0.1\",\"payIdAddress\":{\"paymentNetwork\":\"XRPL\",\"environment\":\"TESTNET\",\"addressDetailsType\":\"CryptoAddressDetails\",\"addressDetails\":{\"address\":\"TVQWr6BhgBLW2jbFyqqufgq8T9eN7KresB684ZSHKQ3oDth\"}}}" } ], "payId": "wazen$127.0.0.1" }

While in RFC of verifiable-payid-protocol.txt Section 7.2 the example says the return looks like:
{ "messageType" : "PaymentInformation", "message" : { "payId" : "bob$receiver.example.com", "addresses" : [ { "paymentNetwork" : "xrpl", "environment" : "testnet", "addressDetailsType" : "CryptoAddressDetails", "addressDetails" : { "address" : "XTVQWr6BhgBLW2jbFyqqufgq8T9eN7KresB684ZSHKQ3oDth" } } ], "memo" : "Additional optional Information", "identity" : "TBD", } "signature" : "TBD" }

Thanks in advance for clarification

from rfcs.

0xCLARITY avatar 0xCLARITY commented on June 22, 2024

@aanchal4 , what do you think we should do to avoid confusion here?

from rfcs.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.