Api providing gpg utilities.
Api providing gpg utilities.
(gpg-version {cmd :fr.jeremyschoffen.mbt.alpha.gpg/command :as param})
Try to get the current gpg version installed on the system. Returns in a vector of 3 ints: major minor and patch numbers.
Try to get the current gpg version installed on the system. Returns in a vector of 3 ints: major minor and patch numbers.
(make-sign-out {in :fr.jeremyschoffen.mbt.alpha.gpg.sign!/in})
Generates an ouput path for a signature given the path of the file to sign.
Generates an ouput path for a signature given the path of the file to sign.
(sign-file! param)
Use gnupg to sign a file. The different options are:
:fr...mbt.alpha.gpg/sign!
: in/output passed to the gnupg call:fr...mbt.alpha.gpg/command
: actual gnupg command to call gpg, gpg2...:fr...mbt.alpha.gpg/home-dir
: option telling gnupg where the directory containing keys is located:fr...mbt.alpha.gpg/key-id
: id of the key used to create the signature:fr...mbt.alpha.gpg/pass-phrase
: option to directly give the pass phrase instead of being prompted by the gpg
agent during execution:fr...mbt.alpha.gpg/version
: optional gnupg version in the vector form described in gpg-version
.
Used to determine which gpg options may be necessary to use.:fr...mbt.alpha.project/working-dir
: the project's working dir. It will position the shell used to call gnupg on it.Use gnupg to sign a file. The different options are: - `:fr...mbt.alpha.gpg/sign!`: in/output passed to the gnupg call - `:fr...mbt.alpha.gpg/command`: actual gnupg command to call gpg, gpg2... - `:fr...mbt.alpha.gpg/home-dir`: option telling gnupg where the directory containing keys is located - `:fr...mbt.alpha.gpg/key-id`: id of the key used to create the signature - `:fr...mbt.alpha.gpg/pass-phrase`: option to directly give the pass phrase instead of being prompted by the gpg agent during execution - `:fr...mbt.alpha.gpg/version`: optional gnupg version in the vector form described in `gpg-version`. Used to determine which gpg options may be necessary to use. - `:fr...mbt.alpha.project/working-dir`: the project's working dir. It will position the shell used to call gnupg on it.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close