github.com/Psiphon-Labs/psiphon-tunnel-core@v2.0.28+incompatible/psiphon/common/protocol/signer/README.md (about)

     1  # signer
     2  
     3  Example usage:
     4  
     5  ```
     6  ./signer -server-entry <...> -public-key <...> -private-key <...> sign
     7  ```
     8  
     9  or:
    10  
    11  ```
    12  SIGNER_SERVER_ENTRY=<...> SIGNER_PUBLIC_KEY=<...> SIGNER_PRIVATE_KEY=<...> ./signer sign
    13  ```
    14  
    15  * Signer is a tool that adds signatures to encoded server entries (`sign` mode) and generates signing key pairs (`generate` mode).
    16  * In `sign` mode, the output is an copy of the input encoded server entry with an additional `signature` field.
    17  * Inputs may be provided as either command line flags or environment variables.