unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34200] [PATCH] gnu: Add stoken.
@ 2019-01-25 19:31 ericbavier
  2019-01-26 13:53 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: ericbavier @ 2019-01-25 19:31 UTC (permalink / raw)
  To: 34200; +Cc: Eric Bavier

From: Eric Bavier <bavier@member.fsf.org>

* gnu/packages/crypto.scm (stoken): New variable.
---
 gnu/packages/crypto.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 2c63e53191..a41543289c 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox>
 ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
-;;; Copyright © 2016, 2017 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2016, 2017, 2019 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
@@ -902,3 +902,29 @@ Features:
 @end itemize\n")
       (home-page "https://github.com/bitcoin-core/secp256k1")
       (license license:unlicense))))
+
+(define-public stoken
+  (package
+    (name "stoken")
+    (version "0.92")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/stoken/"
+                                  "stoken-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0npgr6y85gzwksy8jkwa4yzvqwjprwnplx3yiw3ayk4f0ldlhaxa"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("nettle" ,nettle)
+       ("libxml2" ,libxml2)))
+    (home-page "https://stoken.sf.net")
+    (synopsis "Software Token for cryptographic authentication")
+    (description
+     "@code{stoken} is a tokencode generator compatible with RSA SecurID
+128-bit (AES) tokens.  This package contains a standalong command-line program
+that allows for importing token seeds, generating tokencodes, and various
+utility/testing functions.")
+    (license license:lgpl2.1+)))
--
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#34200] [PATCH] gnu: Add stoken.
  2019-01-25 19:31 [bug#34200] [PATCH] gnu: Add stoken ericbavier
@ 2019-01-26 13:53 ` Ricardo Wurmus
  2019-01-26 23:48   ` bug#34200: " Eric Bavier
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2019-01-26 13:53 UTC (permalink / raw)
  To: ericbavier; +Cc: 34200, Eric Bavier


Hi Eric,

thanks for the patch!

> * gnu/packages/crypto.scm (stoken): New variable.
[…]
> +    (home-page "https://stoken.sf.net")

Sourceforge home pages don’t seem to support HTTPS.

> +    (synopsis "Software Token for cryptographic authentication")
> +    (description
> +     "@code{stoken} is a tokencode generator compatible with RSA SecurID
> +128-bit (AES) tokens.  This package contains a standalong command-line program
> +that allows for importing token seeds, generating tokencodes, and various
> +utility/testing functions.")
> +    (license license:lgpl2.1+)))

“standalong” should be “standalone”; I’d also separate the term
“tokencodes”.

Other than that it looks good to me!

--
Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34200: [PATCH] gnu: Add stoken.
  2019-01-26 13:53 ` Ricardo Wurmus
@ 2019-01-26 23:48   ` Eric Bavier
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Bavier @ 2019-01-26 23:48 UTC (permalink / raw)
  To: Ricardo Wurmus, 34200-done

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

On Sat, 26 Jan 2019 14:53:49 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:

> Hi Eric,
> 
> thanks for the patch!
> 
> > * gnu/packages/crypto.scm (stoken): New variable.  
> […]
> > +    (home-page "https://stoken.sf.net")  
> 
> Sourceforge home pages don’t seem to support HTTPS.

Hm, transcription error, I guess.

> 
> > +    (synopsis "Software Token for cryptographic authentication")
> > +    (description
> > +     "@code{stoken} is a tokencode generator compatible with RSA SecurID
> > +128-bit (AES) tokens.  This package contains a standalong command-line program
> > +that allows for importing token seeds, generating tokencodes, and various
> > +utility/testing functions.")
> > +    (license license:lgpl2.1+)))  
> 
> “standalong” should be “standalone”; I’d also separate the term
> “tokencodes”.

Done.

> 
> Other than that it looks good to me!

Thanks for the review, Ricardo!

Pushed with fixes to master in c2ab3b84398df0b26e6127ea0c336a39e8950d17.

`~Eric

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-26 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-25 19:31 [bug#34200] [PATCH] gnu: Add stoken ericbavier
2019-01-26 13:53 ` Ricardo Wurmus
2019-01-26 23:48   ` bug#34200: " Eric Bavier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).