Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kipz/clj-gpg-verify
https://github.com/kipz/clj-gpg-verify
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kipz/clj-gpg-verify
- Owner: kipz
- License: other
- Created: 2021-04-30T08:50:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-10T14:05:27.000Z (over 3 years ago)
- Last Synced: 2024-05-28T14:30:19.572Z (7 months ago)
- Language: Clojure
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clj-gpg-verify
[![Clojars Project](https://img.shields.io/clojars/v/org.kipz/clj-gpg-verify.svg)](https://clojars.org/org.kipz/clj-gpg-verify)
Verify tools deps/lein dependency gpg signatures via allow-list
Uses https://github.com/liquidz/antq for much of file/artifact wrangling, but also
supports using environment based repo credentials from project.clj## Usage
### Clojure Tools Deps
Add the following to your deps.edn:
```clojure
:gpg-verify {:exec-fn org.kipz.gpg-verify.clojure/gpg-verify
:exec-args {:verify [mycommany/internal-cljj]}
:extra-deps {org.kipz/clj-gpg-verify {:mvn/version "0.1.2"}}}
```### Leiningen
Put `[org.kipz/clj-gpg-verify "0.1.2"]` into the `:plugins` vector of your `:user`
profile or in the `:plugins` of your poject.clj:Add a list of dependencies to verify to your project.clj:
```clojure
:gpg-verify {:deps [mycommany/internal-clj]}
```Then run:
```shell
$ lein gpg-verify
```## License
Copyright © 2021 James Carnegie
This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0.This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License, v. 2.0 are satisfied: GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or (at your
option) any later version, with the GNU Classpath Exception which is available
at https://www.gnu.org/software/classpath/license.html.