Mesh CLI has a key sign tool, which you can use to sign and verify various curves supported by mesh-specifications. This should only be used for local development. Never share private keys anywhere.
mesh-cli key:gen --curve-type secp256k1
Curve Type options are specified by mesh-specifications
mesh-cli key:sign --configuration-file config.json
A sample config file is located here
Required fields includes
pub_keyprivate_keysigning_payload
mesh-cli key:verify --configuration-file verify.json
A sample config file is located here
Required fields includes
pub_keysigning_payloadsignature
account_identifierfield insigning_payloadfield should've a dummy address for providing valid payload.