Code Monkey home page Code Monkey logo

Comments (6)

Hapovanille avatar Hapovanille commented on August 10, 2024

+1, tried the softsign approach with tm-signer-harness, but the documentation seems to be outdated.

Got stuck on the signing.key part. I did tm-signer-harness extract_key -tmhome ~/.tendermint -output ./signing.key to get a signing,key. However when I ran tmkms start -c tmkms.toml with the previous signing.key provided as path field of [[providers.softsign]], I got

$ sudo ./tmkms start -c tmkms.toml -v
Sep 28 20:12:00.320 DEBUG abscissa_core::component::registry: registered component: abscissa_core::terminal::component::Terminal (v0.5.2)
Sep 28 20:12:00.320 DEBUG abscissa_core::component::registry: registered component: abscissa_core::trace::component::Tracing (v0.5.2)
Sep 28 20:12:00.320  INFO tmkms::commands::start: tmkms 0.8.0 starting up...
error: error loading configuration: config error: couldn't read key from `/opt/tmkms/signing.key`: stream did not contain valid UTF-8

This might be a tm-signer-harness issue though, but a softsign manual would be good.

from tmkms.

tony-iqlusion avatar tony-iqlusion commented on August 10, 2024

What format is the key in? The supported formats are Base64-encoded and JSON.

I'm guessing it's the (now deprecated/removed) raw binary format.

from tmkms.

tony-iqlusion avatar tony-iqlusion commented on August 10, 2024

@eugenpro unfortunately the documentation for the softsign backend is undermaintained, as we primarily focus on supporting the yubihsm and ledger backends.

Use tmkms softsign keygen /path/to/key to generate a key, and then adapt this section of the configuration to suit your needs:

https://github.com/iqlusioninc/tmkms/blob/develop/tmkms.toml.example#L56-L59

from tmkms.

Hapovanille avatar Hapovanille commented on August 10, 2024

What format is the key in? The supported formats are Base64-encoded and JSON.

I'm guessing it's the (now deprecated/removed) raw binary format.

right it was in format of raw binary

from tmkms.

tony-iqlusion avatar tony-iqlusion commented on August 10, 2024

If you Base64 encode it, it should be good

from tmkms.

tony-iqlusion avatar tony-iqlusion commented on August 10, 2024

Closing this out. Please reopen if there's still a problem.

from tmkms.

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.