(sign artifacts)
(sign artifacts {:keys [command gpg-key] :as opts})
Sign a collection of artifacts using the "gpg" command.
Sign a collection of artifacts using the "gpg" command. - artifacts: A collections of artifacts. Each artifact must be a map with a :file-path key and an optional :extension key. :file-path is the path to th file to be signed. :extension is the artifact packaging type. :extension is optional and defaults to "jar" for jar files and "pom" for pom files. - command: The command used to sign the artifact. Default to "gpg". - gpg-key: The private key to be used. Default to the first private key found. Returns the artifacts representing the signatures of the input artifacts conjoined to the input artifacts.
(sign-one artifact)
(sign-one artifact {:keys [command gpg-key] :or {command "gpg"}})
Sign a single artifact. The artifact must be a map with a :file-path key and an optional :extension key. :file-path is the path to th file to be signed. :extension is the artifact packaging type. :extension is optional and defaults to "jar" for jar files and "pom" for pom files. Returns an artifact representing the signature of the input artifact.
Sign a single artifact. The artifact must be a map with a :file-path key and an optional :extension key. :file-path is the path to th file to be signed. :extension is the artifact packaging type. :extension is optional and defaults to "jar" for jar files and "pom" for pom files. Returns an artifact representing the signature of the input artifact.
(signing-args file gpg-key)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close