Compare commits
3
Commits
oops
..
42c1cbf39e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42c1cbf39e
|
||
|
|
5539dfd54b
|
||
|
|
8376365265
|
@@ -1,6 +0,0 @@
|
|||||||
(authorizations
|
|
||||||
(version 0)
|
|
||||||
(("BF2C984D163E47CAAA95AD589B06663352168487"
|
|
||||||
(name "nathanmcrae-key_ei"))
|
|
||||||
("CCB0642F99B82F07FFAAF67373FC1CAF2F971154"
|
|
||||||
(name "nathanmcrae-key_nk"))))
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
(authorizations
|
||||||
|
(version 0)
|
||||||
|
(("BF2C984D163E47CAAA95AD589B06663352168487"
|
||||||
|
(name "nathanmcrae-key_ei"))))
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mFMEagNzIhMJKyQDAwIIAQEHAgMEFfpcGNSyMJsIVM6I2jQ5MkKzLZ7ZC54atdxI
|
|
||||||
XfIamUV24HYFhqKMAUpgL8zi4+qwSGtc3SfWj/G650JgfrgGz7QuTmF0aGFuIENo
|
|
||||||
cmlzdG9waGVyIE1jUmFlIDxtZUBuYXRoYW5tY3JhZS5uYW1lPoiZBBMTCABBFiEE
|
|
||||||
zLBkL5m4Lwf/qvZzc/wcry+XEVQFAmoDcyICGwMFCQWk8Y4FCwkIBwICIgIGFQoJ
|
|
||||||
CAsCBBYCAwECHgcCF4AACgkQc/wcry+XEVSGOQD/THBxDaYsJouM07pb0rFEZ2C8
|
|
||||||
lmCJ35i+jB4Bai9CldwBAJET0C4vUHb8PM5O/3D0LVMjvrF3peZ3DfBdYjZswoPj
|
|
||||||
uFMEagNzIhMJKyQDAwIIAQEHAgMEK+1HrwfGjLN75W2j9zKlBg81Avcey4PFRUc9
|
|
||||||
0lgpIOmT8WLK2xU0IEjZUhSRomzqa2tZsPxIkODxaQSX2IDQuoh+BBgTCAAmFiEE
|
|
||||||
zLBkL5m4Lwf/qvZzc/wcry+XEVQFAmoDcyICGyAFCQWk8Y4ACgkQc/wcry+XEVSv
|
|
||||||
hgD+LFufL+OCrgHPpAlj6fMGS6IFHT13JwNJcg+0hyAOQMgBAJ5rQ5gg01Rc810U
|
|
||||||
2o0TF2DaEAxIjeiTMKjgOj9WOQpguFcEagNzIhIJKyQDAwIIAQEHAgMEnHW71RpQ
|
|
||||||
6JQvpbNAzbfR84wQffiWesFL4l4e9hfyuhUNf2RFQMxRQBA5sIXwEqgumzehWcSB
|
|
||||||
6mG95Fw+c9M6xgMBCAeIfgQYEwgAJhYhBMywZC+ZuC8H/6r2c3P8HK8vlxFUBQJq
|
|
||||||
A3MiAhsMBQkFpPGOAAoJEHP8HK8vlxFUbtsBAJSBVUHGjpZTALBPHedNoyTdLfXS
|
|
||||||
JnRBhKb7/m1GCS6wAQCgkBZnxsqSYwmVg9Cy/OpKWMvOjyQREw5W2txnDQSgrQ==
|
|
||||||
=Jc0d
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
; My home services
|
||||||
@@ -1,74 +1 @@
|
|||||||
(define-module (nathanmcrae packages)
|
; My packages
|
||||||
#:use-module (gnu packages base)
|
|
||||||
#:use-module (gnu packages golang)
|
|
||||||
#:use-module (gnu packages golang-build)
|
|
||||||
#:use-module (gnu packages time)
|
|
||||||
#:use-module (guix build utils)
|
|
||||||
#:use-module (guix build-system go)
|
|
||||||
#:use-module (guix build gnu-build-system)
|
|
||||||
#:use-module (guix download)
|
|
||||||
#:use-module (guix gexp)
|
|
||||||
#:use-module (guix git)
|
|
||||||
#:use-module (guix git-download)
|
|
||||||
#:use-module (guix licenses)
|
|
||||||
#:use-module (guix packages)
|
|
||||||
#:use-module (guix utils))
|
|
||||||
|
|
||||||
(define-public go-nullprogram-com-x-optparse
|
|
||||||
(package
|
|
||||||
(name "go-nullprogram-com-x-optparse")
|
|
||||||
(version "1.0.0")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/skeeto/optparse-go")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32 "1yzpzlhmxdm8gd8ikh9c91qmshjp1jg49l0qsslmm432wk19zym9"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:import-path "nullprogram.com/x/optparse"))
|
|
||||||
(home-page "https://nullprogram.com/x/optparse")
|
|
||||||
(synopsis "Traditional long option parser for Go")
|
|
||||||
(description
|
|
||||||
"Package optparse parses command line arguments very similarly to GNU
|
|
||||||
@code{getopt_long()}. It supports long options and optional arguments, but does
|
|
||||||
not permute arguments. It is intended as a replacement for Go's flag package.")
|
|
||||||
(license unlicense)))
|
|
||||||
|
|
||||||
(define-public passphrase2pgp
|
|
||||||
(package
|
|
||||||
(name "passphrase2pgp")
|
|
||||||
(version "1.3.0")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference (url
|
|
||||||
"https://github.com/skeeto/passphrase2pgp.git")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256 (base32 "1a1m4r43yzmvs1c7d2sa855aikny8jg6c4mflbsf5dg269imgpca"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(native-inputs (list go-golang-org-x-crypto-bootstrap))
|
|
||||||
(propagated-inputs (list go-golang-org-x-crypto
|
|
||||||
go-nullprogram-com-x-optparse))
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:import-path "passphrase2pgp"
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
; Needed for import of embedded module to work
|
|
||||||
(add-after 'unpack 'make-openpgp-symlink
|
|
||||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
||||||
(let* ((dir "src/nullprogram.com/x/passphrase2pgp/"))
|
|
||||||
(mkdir-p dir)
|
|
||||||
(with-directory-excursion dir
|
|
||||||
(symlink "../../../passphrase2pgp/openpgp" "openpgp"))))))))
|
|
||||||
;; TODO: run test.bash
|
|
||||||
(synopsis "Generate a PGP key from a passphrase")
|
|
||||||
(description "passphrase2pgp generates, in OpenPGP format, an EdDSA signing key and Curve25519 encryption subkey entirely from a passphrase, essentially allowing you to store a backup of your PGP keys in your brain. At any time you can re-run the tool and re-enter the passphrase to reproduce the original keys.")
|
|
||||||
(license unlicense)
|
|
||||||
(home-page "https://github.com/skeeto/passphrase2pgp")))
|
|
||||||
|
|||||||
Reference in New Issue
Block a user