pastelid - Pastel RPC

pastelid "command"...
Set of commands to deal with PastelID and related actions
Pastel ID is the base58-encoded public key of the EdDSA448 key pair. EdDSA448 public key is 57 bytes

Arguments:
1. "command"        (string or set of strings, required) The command to execute

Available commands:
  newkey "passphrase"                                          - Generate new Pastel ID, associated keys (EdDSA448) and LegRoast signing keys.
                                                                 Return Pastel ID and LegRoast signing public key base58-encoded.
                                                                 "passphrase" will be used to encrypt the key file.
  importkey "key" <"passphrase">                               - Import private "key" (EdDSA448) as PKCS8 encrypted string in PEM format. Return Pastel ID base58-encoded
                                                                 "passphrase" (optional) to decrypt the key for the purpose of validating and returning Pastel ID.
                                                                 NOTE: without "passphrase" key cannot be validated and if key is bad (not EdDSA448) call to "sign" will fail
  list                                                         - List all internally stored Pastel IDs and associated keys.
  sign "text" "PastelID" "passphrase" ("algorithm")            - Sign "text" with the internally stored private key associated with the Pastel ID (algorithm: ed448 or legroast).
  sign-base64-encoded "text" "PastelID" "passphrase" ("algorithm") - Sign base64-encoded "text" with the internally stored private key associated with the Pastel ID (algorithm: ed448 or legroast).
  sign-file file-path "PastelID" "passphrase" ("algorithm")    - Sign file-path with the internally stored private key associated with the Pastel ID (algorithm: ed448 or legroast).
  sign-by-key "text" "key" "passphrase"                        - Sign "text" with the private "key" (EdDSA448) as PKCS8 encrypted string in PEM format.
  verify "text" "signature" "PastelID" ("algorithm")           - Verify "text"'s "signature" with the private key associated with the Pastel ID (algorithm: ed448 or legroast).
  verify-base64-encoded "text" "signature" "PastelID" ("algorithm") - Verify base64-encoded "text"'s "signature" with the private key associated with the Pastel ID (algorithm: ed448 or legroast).
  verify-file file-path "signature" "PastelID" ("algorithm")   - Verify file-path's "signature" with the private key associated with the Pastel ID (algorithm: ed448 or legroast).
  passwd "PastelID" "old_passphrase" "new_passphrase"          - Change passphrase used to encrypt the secure container associated with the Pastel ID.


Maintained by Pastel Network; license of the docs is MIT (see pastel repo)

Generated from a mainnet node