Giter VIP home page Giter VIP logo

didcomm-demo's People

Contributors

ashcherbakov avatar dhh1128 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

didcomm-demo's Issues

Conflict with Python "typing-extensions" versions

What

If you try to install the Python part of didcomm-demo following the instructions, it will crash with the following error:

ERROR: pydantic 1.10.2 has requirement typing-extensions>=4.1.0, but you'll have typing-extensions 3.10.0.2 which is incompatible.

Why

There are an error with typing-extensions version, for pydid and pydantic.
pydantic needs typing-extensions>=4.1.0
but
pydid needs typing-extensions<4.0.0,>=3.7.4
So, there are no combinations of typing-extensions that satisfies both libraries.

Success Criteria

  • The instructions shall be ended successfully.

Anything else

Include links to any examples, research or code that support this issue.

type: error
relatedto: installation issue

Fail to unpack messages with custom headers in case java(pack)-->python(unpack)

If a java client packs a message that includes a custom header, when it is unpacked by Python client, it fails with MalformedMessageCode.INVALID_PLAINTEXT error.

The other cases works fine: java-->java, python-->python, python-->java. All are unpacked without error.

How to reproduce the error:

  • add .customHeader("return_route","all") in line 109 of DIDCommDemoHelper.kt
val message = Message.builder(
            id = UUID.randomUUID().toString(),
            body = mapOf("msg" to data),
            type = "my-protocol/1.0"
)
.customHeader("return_route","all")
.build()
  • rebuild
  • run demo.py
  • check error at the end:
    Bob received MalformedMessageCode.INVALID_PLAINTEXT.

Same results were obtained using both libraries but outside this demo, just to confirm that is not a problem of the demo code. I'm opening the issue in this repo because I can't say if it's a problem in the python library or in the JVM library.

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.