Skip to content

Commit

Permalink
New release: cardano-signer 1.15.1
Browse files Browse the repository at this point in the history
* 1.15.1

   * New constitutional-commitee-member cold-key generation mode:

      - generate conway cc-cold keys via the path `--path cc-cold` or
      - generate conway cc-cold keys from the derivation path "1852'/1815'/acc'/4/idx'
      - generate conway cc-cold keys from mnemonics or let cardano-signer generate new mnemonics for you

   * New constitutional-commitee-member hot-key generation mode:

      - generate conway cc-hot keys via the path `--path cc-hot` or
      - generate conway cc-hot keys from the derivation path "1852'/1815'/acc'/5/idx'
      - generate conway cc-hot keys from mnemonics or let cardano-signer generate new mnemonics for you

   * General

      - some corrections on extended verification key outputs
      - an unknown parameter now throws an error, before optional parameters with a typo were simply ignored
      - general code cleanup, typos, etc.
  • Loading branch information
gitmachtl committed Dec 8, 2023
1 parent c6e84ab commit 1db1f2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cardano-signer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//define name and version
const appname = "cardano-signer"
const version = "1.15.0"
const version = "1.15.1"

//external dependencies
const CardanoWasm = require("@emurgo/cardano-serialization-lib-nodejs")
Expand All @@ -16,7 +16,7 @@ const crypto = require('crypto'); //used for crypto functions like entropy gener
//set the options for the command-line arguments. needed so that arguments like data-hex="001122" are not parsed as numbers
const parse_options = {
string: ['secret-key', 'public-key', 'signature', 'address', 'rewards-address', 'payment-address', 'vote-public-key', 'data', 'data-hex', 'data-file', 'out-file', 'out-cbor', 'out-skey', 'out-vkey', 'cose-sign1', 'cose-key', 'mnemonics', 'path', 'testnet-magic'],
boolean: ['json', 'json-extended', 'cip8', 'cip30', 'cip36', 'deregister', 'jcli', 'bech', 'hashed', 'nopayload', 'vkey-extended'], //all booleans are set to false per default
boolean: ['help', 'version', 'usage', 'json', 'json-extended', 'cip8', 'cip30', 'cip36', 'deregister', 'jcli', 'bech', 'hashed', 'nopayload', 'vkey-extended'], //all booleans are set to false per default
//adding some aliases so users can also use variants of the original parameters. for example using --signing-key instead of --secret-key
alias: { 'deregister': 'deregistration', 'cip36': 'cip-36', 'cip8': 'cip-8', 'cip30': 'cip-30', 'secret-key': 'signing-key', 'public-key': 'verification-key', 'rewards-address': 'reward-address', 'data': 'data-text', 'jcli' : 'bech', 'mnemonic': 'mnemonics', 'vkey-extended': 'with-chain-code' },
unknown: function(unknownParameter) {
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cardano-signer",
"version": "1.15.0",
"version": "1.15.1",
"description": "cardano-signer signs a given data(hex/text/file) with a signing key(hex/bech/file) or verify the signature via a public key(hex/bech/file). it can also produce a cip-8/cip-30/cip-36 conform payload signing/verification. can produce ed25519 keys from mnemonic for payment, staking, drep, constitutional commitee cold/hot keys, etc...",
"main": "cardano-signer.js",
"scripts": {
Expand Down

0 comments on commit 1db1f2b

Please sign in to comment.