github.com/n1ghtfa1l/go-vnt@v0.6.4-alpha.6/cmd/vntkey/README.md (about)

     1  vntkey
     2  ======
     3  
     4  vntkey is a simple command-line tool for working with VNT keyfiles.
     5  
     6  
     7  # Usage
     8  
     9  ### `vntkey generate`
    10  
    11  Generate a new keyfile.
    12  If you want to use an existing private key to use in the keyfile, it can be 
    13  specified by setting `--privatekey` with the location of the file containing the 
    14  private key.
    15  
    16  
    17  ### `vntkey inspect <keyfile>`
    18  
    19  Print various information about the keyfile.
    20  Private key information can be printed by using the `--private` flag;
    21  make sure to use this feature with great caution!
    22  
    23  
    24  ### `vntkey sign <keyfile> <message/file>`
    25  
    26  Sign the message with a keyfile.
    27  It is possible to refer to a file containing the message.
    28  
    29  
    30  ### `vntkey verify <address> <signature> <message/file>`
    31  
    32  Verify the signature of the message.
    33  It is possible to refer to a file containing the message.
    34  
    35  
    36  ## Passphrases
    37  
    38  For every command that uses a keyfile, you will be prompted to provide the 
    39  passphrase for decrypting the keyfile.  To avoid this message, it is possible
    40  to pass the passphrase by using the `--passphrase` flag pointing to a file that
    41  contains the passphrase.