Git Product home page Git Product logo

Comments (5)

vimmerru avatar vimmerru commented on August 17, 2024

Personally, I agree with this issue. Looks like the current implementation of sovrin_sign and sovrin_verify_signature calls that only allows signing off messages to pool with very specific digest creation is some result of our internal misunderstanding. Also, it doesn't correspond to this calls docs.

@ashcherbakov

Can you re-check this?

from indy-sdk.

vimmerru avatar vimmerru commented on August 17, 2024

From another point of view

The main use case of sovrin_sign call is signing of transaction messages that were created with sovrin_build_*_request calls. It allows splitting of communication logic from private keys management for better security of real applications.

Ledger communication requires the creation of complex custom digests and injection of the signature field to original json messages. So we can't just easily make this calls generic without loosing of ability to sign ledger messages. Maybe we can add another call that is intended for the signing of generic messages.

@ashcherbakov
@dhh1128

What to you think about this?

from indy-sdk.

dhh1128 avatar dhh1128 commented on August 17, 2024

An earlier version of the API had a sovrin_sign() function that could sign arbitrary messages. I'm not sure why we removed it, but I've always considered it a good idea.

from indy-sdk.

peacekeeper avatar peacekeeper commented on August 17, 2024

Closing this Github issue and creating JIRA issue instead: https://jira.hyperledger.org/browse/INDY-361

from indy-sdk.

dhh1128 avatar dhh1128 commented on August 17, 2024

Moved again; this time to https://jira.hyperledger.org/browse/IS-158

from indy-sdk.

Related Issues (20)

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.