Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not sure where to start with this outdated python pip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Zazzman
n00b
n00b


Joined: 09 May 2012
Posts: 32

PostPosted: Thu Jan 11, 2018 7:12 pm    Post subject: Not sure where to start with this outdated python pip Reply with quote

https://github.com/lmacken/quantumrandom - free streaming entropy as a service from an academic quantum physics laboratory. ~1KiB/sec low end, 7KiB/sec high end. Libraries are included for evaluating the entropy. Dependency resolution is left to the user and their distro's package manager, as discussed in the readme. vim %s/\n//g onto the output makes for some nice cryptographic keys! I'm just no longer willing to have those keys travel to my desktop.

pip install --user quantumrandom may as well copy garbage into ~/.local/lib64 , as the commandline interface is neither registered, nor readily found. Taking out the '--user' flag only hits a gentoo error.

Any suggestions for how to resurrect this little guy?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Fri Jan 12, 2018 1:33 pm    Post subject: Reply with quote

quantumrandom-1.6.ebuild:
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 )
inherit distutils-r1

DESCRIPTION="Tools for utilizing the ANU Quantum Random Number Generator"
HOMEPAGE="https://pypi.python.org/pypi/quantumrandom"
SRC_URI="https://github.com/lmacken/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
        dev-python/six[${PYTHON_USEDEP}]"

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Jan 13, 2018 4:08 am    Post subject: Reply with quote

There's something ironic about trusting a remote PHP script and obsolete HTTPS configuration (TLS 1.0, RSA, CBC) to give you secure random numbers...
Back to top
View user's profile Send private message
Zazzman
n00b
n00b


Joined: 09 May 2012
Posts: 32

PostPosted: Mon Jan 15, 2018 1:20 am    Post subject: Reply with quote

Ant P. wrote:
There's something ironic about trusting a remote PHP script and obsolete HTTPS configuration (TLS 1.0, RSA, CBC) to give you secure random numbers...
Yeah... especially when a home TRNG is like $35. Nevermind, carry on!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum