github.com/aaa256/atlantis@v0.0.0-20210707112435-42ee889287a2/cmd/ethkey/README.md (about)

     1  athkey
     2  ======
     3  
     4  athkey is a simple command-line tool for working with Atlantis keyfiles.
     5  
     6  
     7  # Usage
     8  
     9  ### `athkey 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  ### `athkey 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  ### `athkey 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  ### `athkey 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.