/jpgp

Some Java PGP high level tools in order to interact with Node.js

Primary LanguageJava

jpgp

Some Java PGP high level tools in order to interact with Node.js

Usage

usage: java -jar jpgp.jar
 -c,--cert <arg>        Certificate to be checked - ASCII armored.
 -d,--data <arg>        Data the signature is based upon - ASCII armored.
 -I,--signed            Verifies if a UID is signed by the given public
                        key.
                        Requires --pubkey, --cert, --uid options.
 -n,--nocarriage        Convert <CR><LF> from --data option to <LF>
                        UNIX-style to avoid signature errors.
 -P,--parse             Parses Base64 certificate and outputs JSON
                        structure of it.
                        Requires --cert option.
 -p,--pubkey <arg>      Public key used for signature - ASCII armored.
 -s,--signature <arg>   Signature to verify - ASCII armored.
 -u,--uid <arg>         UID the signature is based upon - clear text.
 -V,--verify            Verifies if a signature matches some data.
                        Requires --pubkey, --signature and --data options.

License

MIT