tl-alex-butler / tlsign

Script helpful version of 'TrueLayer/payouts-api-signing-examples' signing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tlsign

A small command line interface to sign POST requests for Payouts/Paydirect API

USAGE:
    tlsign --body <body> --key <key> --kid <kid>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --body <body>    The payload you want to sign
        --key <key>      The filename of the Elliptic Curve private key used to sign, in PEM format
        --kid <kid>      The certificate id associated to the public certificate you uploaded in
                         TrueLayer's Console. The certificate id can be retrieved in the Payouts
                         Setting section. It will be used as the `kid` header in the JWS

Install

cargo install --git https://github.com/tl-alex-butler/tlsign

Or

cargo install --git ssh://git@github.com/tl-alex-butler/tlsign

Or

Checkout the project. Build a release binary and copy to a directory (default ~/bin) with:

./deploy [TARGET_DIR]

About

Script helpful version of 'TrueLayer/payouts-api-signing-examples' signing


Languages

Language:Rust 90.2%Language:Shell 9.8%