Skip to content
This repository was archived by the owner on Oct 14, 2021. It is now read-only.
/ tlsign Public archive

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

Notifications You must be signed in to change notification settings

tl-alex-butler/tlsign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published