Coder Social home page Coder Social logo

taurusgroup / frost-ed25519 Goto Github PK

View Code? Open in Web Editor NEW
56.0 14.0 13.0 422 KB

Implementation of the FROST protocol for threshold Ed25519 signing

License: Apache License 2.0

Go 99.89% Shell 0.11%
cryptography signature multi-party-computation

frost-ed25519's Issues

Panic in `FromBytes` functions

Right now, it seems FromBytes functions assume the byte slices in arguments have correct lengths -- if not, they'll panic.
This assumption should ideally be documented or more explicitly handled (e.g. by returning a nil or an error instead of a panic).

An example panic:

panic: runtime error: index out of range [1] with length 1

goroutine 9 [running]:
encoding/binary.bigEndian.Uint16(...)
        /usr/local/go/src/encoding/binary/binary.go:101
github.com/taurusgroup/frost-ed25519/pkg/frost/party.FromBytes(...)

Panic: Runtime Error in function "polynomial reset"

Hey there,
When you init a "NewKeygenState" with "frost.NewKeygenState", you are getting the following error:

`panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0xfd8621]

goroutine 169 [running]:
github.com/taurusgroup/frost-ed25519/pkg/internal/polynomial.(*Polynomial).Reset(0x0)
C:/Users/brend/Go/pkg/mod/github.com/taurusgroup/[email protected]/pkg/internal/polynomial/polynomial.go:73 +0x21
github.com/taurusgroup/frost-ed25519/pkg/frost/keygen.(*round0).Reset(0xc001086000)`

The Error is present for me under all circumstances

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.