From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: 28028@debbugs.gnu.org
Cc: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: [bug#28028] [PATCH 9/9] gnu: Add perl-math-random-secure.
Date: Wed, 9 Aug 2017 19:00:37 +0200 [thread overview]
Message-ID: <20170809170037.14230-9-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <20170809170037.14230-1-ricardo.wurmus@mdc-berlin.de>
* gnu/packages/perl.scm (perl-math-random-secure): New variable.
---
gnu/packages/perl.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index aca321c77..703390ea3 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4154,6 +4154,45 @@ This package provides implements the same interface as
@code{Math::Random::ISAAC}.")
(license public-domain)))
+(define-public perl-math-random-secure
+ (package
+ (name "perl-math-random-secure")
+ (version "0.080001")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/F/FR/FREW/"
+ "Math-Random-Secure-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dgbf4ncll4kmgkyb9fsaxn0vf2smc9dmwqzgh3259zc2zla995z"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-list-moreutils" ,perl-list-moreutils)
+ ("perl-test-leaktrace" ,perl-test-leaktrace)
+ ("perl-test-sharedfork" ,perl-test-sharedfork)
+ ("perl-test-warn" ,perl-test-warn)))
+ (inputs
+ `(("perl-crypt-random-source" ,perl-crypt-random-source)
+ ("perl-math-random-isaac" ,perl-math-random-isaac)
+ ("perl-math-random-isaac-xs" ,perl-math-random-isaac-xs)
+ ("perl-moo" ,perl-moo)))
+ (home-page "http://search.cpan.org/dist/Math-Random-Secure")
+ (synopsis "Cryptographically secure replacement for rand()")
+ (description "This module is intended to provide a
+cryptographically-secure replacement for Perl's built-in @code{rand} function.
+\"Crytographically secure\", in this case, means:
+
+@enumerate
+@item No matter how many numbers you see generated by the random number
+generator, you cannot guess the future numbers, and you cannot guess the seed.
+@item There are so many possible seeds that it would take decades, centuries,
+or millenia for an attacker to try them all.
+@item The seed comes from a source that generates relatively strong random
+data on your platform, so the seed itself will be as random as possible.
+@end enumerate\n")
+ (license artistic2.0)))
+
(define-public perl-memoize-expirelru
(package
(name "perl-memoize-expirelru")
--
2.13.2
next prev parent reply other threads:[~2017-08-09 17:06 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-09 16:56 [bug#28028] [PATCH 0/9] Perl crypto things Ricardo Wurmus
2017-08-09 17:00 ` [bug#28028] [PATCH 1/9] gnu: Add perl-hash-fieldhash Ricardo Wurmus
2017-08-09 17:00 ` [bug#28028] [PATCH 2/9] gnu: Add perl-math-random-isaac-xs Ricardo Wurmus
2017-08-12 11:22 ` Danny Milosavljevic
2017-08-12 13:07 ` Ricardo Wurmus
2017-08-09 17:00 ` [bug#28028] [PATCH 3/9] gnu: Add perl-math-random-isaac Ricardo Wurmus
2017-08-12 11:23 ` Danny Milosavljevic
2017-08-09 17:00 ` [bug#28028] [PATCH 4/9] gnu: Add perl-type-tie Ricardo Wurmus
2017-08-12 11:23 ` Danny Milosavljevic
2017-08-09 17:00 ` [bug#28028] [PATCH 5/9] gnu: Add perl-regexp-util Ricardo Wurmus
2017-08-12 11:24 ` Danny Milosavljevic
2017-08-09 17:00 ` [bug#28028] [PATCH 6/9] gnu: Add perl-ref-util-xs Ricardo Wurmus
2017-08-12 11:26 ` Danny Milosavljevic
2017-08-09 17:00 ` [bug#28028] [PATCH 7/9] gnu: Add perl-type-tiny Ricardo Wurmus
2017-08-12 11:27 ` Danny Milosavljevic
2017-08-09 17:00 ` [bug#28028] [PATCH 8/9] gnu: Add perl-crypt-random-source Ricardo Wurmus
2017-08-12 11:28 ` Danny Milosavljevic
2017-08-09 17:00 ` Ricardo Wurmus [this message]
2017-08-12 11:30 ` [bug#28028] [PATCH 9/9] gnu: Add perl-math-random-secure Danny Milosavljevic
2017-08-14 10:00 ` bug#28028: " Ricardo Wurmus
2017-08-12 11:21 ` [bug#28028] [PATCH 1/9] gnu: Add perl-hash-fieldhash Danny Milosavljevic
2017-08-09 20:44 ` [bug#28028] [PATCH 0/9] Perl crypto things Marius Bakke
2017-08-10 11:40 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170809170037.14230-9-ricardo.wurmus@mdc-berlin.de \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=28028@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).