gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
2021-02-14 13:04:57 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2019-02-17 20:16:24 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
|
2022-01-23 19:11:19 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2020, 2022 Marius Bakke <marius@gnu.org>
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
|
|
|
|
|
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
|
|
|
|
|
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
|
|
|
|
|
;;; Copyright © 2014, 2017 Eric Bavier <bavier@member.fsf.org>
|
|
|
|
|
;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org>
|
2020-09-01 02:21:43 +02:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 13:05:45 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2022-05-20 10:02:44 +02:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2019, 2022 Ricardo Wurmus <rekado@elephly.net>
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
|
2020-06-02 04:01:56 +02:00
|
|
|
|
;;; Copyright © 2016, 2017, 2020 Arun Isaac <arunisaac@systemreboot.net>
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
|
2018-04-17 21:57:35 +02:00
|
|
|
|
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
|
2021-01-02 21:28:19 +01:00
|
|
|
|
;;; Copyright © 2018, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-06-26 06:32:06 +02:00
|
|
|
|
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
|
2018-11-22 10:49:07 +01:00
|
|
|
|
;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
|
2019-10-29 16:14:13 +01:00
|
|
|
|
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
|
2019-11-19 16:09:13 +01:00
|
|
|
|
;;; Copyright © 2019 Clément Lassieur <clement@lassieur.org>
|
2020-01-08 15:55:28 +01:00
|
|
|
|
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
|
2020-07-23 14:03:21 +02:00
|
|
|
|
;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
|
2021-09-17 19:55:32 +02:00
|
|
|
|
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
2022-04-20 07:14:57 +02:00
|
|
|
|
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-08-18 00:43:16 +02:00
|
|
|
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages python-crypto)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2021-08-18 00:43:16 +02:00
|
|
|
|
#:use-module (guix gexp)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
#:use-module (guix git-download)
|
2022-01-23 19:11:19 +01:00
|
|
|
|
#:use-module (guix build-system cargo)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
#:use-module (guix build-system python)
|
|
|
|
|
#:use-module (gnu packages)
|
gnu: Move testing packages from python.scm to check.scm.
* gnu/packages/python.scm (python-behave-web-api, python2-behave-web-api,
python-mock, python2-mock, python-mock-2, python-nose, python2-nose,
python-nose2, python2-nose2, python-unittest2, python2-unittest2,
python-pytest, python2-pytest, python-pytest-3.0, python2-pytest-3.0,
python-pytest-cov, python2-pytest-cov, python-pytest-runner,
python2-pytest-runner, python-pytest-mock, python2-pytest-mock,
python-pytest-xdist, python2-pytest-xdist, python-scripttest,
python2-scripttest, python-testtools, python2-testtools, python-testscenarios,
python2-testscenarios, python-testresources, python2-testresources,
python-subunit, python2-subunit, python-fixtures, python2-fixtures,
python-testrepository, python2-testrepository, python-coverage,
python2-coverage, python-cov-core, python2-cov-core, python-testpath,
python2-testpath, python-testlib, python2-testlib, python-pytest-cache,
python2-pytest-cache, python-pytest-localserver, python-pytest-xprocess,
python-pytest-subtesthack, python2-pytest-subtesthack, python-hypothesis,
python2-hypothesis, python-lit, python2-lit, python-pytest-pep8,
python2-pytest-pep8, python-pytest-flakes, python2-pytest-flakes,
python2-coverage-test-runner, python-pylint, python2-pylint,
python-paramunittest, python2-python-paramunittest, python-pytest-warnings,
python2-pytest-warnings, python-pytest-capturelog, python2-pytest-capturelog,
python-pytest-catchlog, python2-pytest-catchlog, python-nosexcover,
python2-nosexcover, python-discover, python2-discover, behave, python-rednose,
python2-rednose, python-nose-randomly, python2-nose-randomly,
python-nose-timer, python2-nose-timer): Move from here...
* gnu/packages/check.scm: ...to here.
* gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/backup.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm,
gnu/packages/dav.scm,
gnu/packages/django.scm,
gnu/packages/freedesktop.scm,
gnu/packages/haskell.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/ldc.scm,
gnu/packages/libffi.scm,
gnu/packages/mail.scm,
gnu/packages/mpd.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/rdf.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm: Adjust accordingly.
2017-11-17 21:42:23 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
2022-01-23 19:11:19 +01:00
|
|
|
|
#:use-module (gnu packages crates-io)
|
2017-11-15 14:44:36 +01:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2020-01-08 15:55:28 +01:00
|
|
|
|
#:use-module (gnu packages kerberos)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2020-03-17 08:02:53 +01:00
|
|
|
|
#:use-module (gnu packages password-utils)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
|
|
|
|
#:use-module (gnu packages python)
|
2021-01-14 22:27:39 +01:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2020-01-11 22:38:13 +01:00
|
|
|
|
#:use-module (gnu packages python-check)
|
2020-08-07 15:24:14 +02:00
|
|
|
|
#:use-module (gnu packages python-compression)
|
2018-04-23 00:25:41 +02:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:21:30 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2022-01-23 19:11:19 +01:00
|
|
|
|
#:use-module (gnu packages rust)
|
2020-08-05 12:44:15 +02:00
|
|
|
|
#:use-module (gnu packages swig)
|
gnu: Move date/time packages from python.scm to time.scm.
* gnu/packages/python.scm (python-pytz, python2-pytz, python-dateutil,
python2-dateutil, python-parsedatetime, python2-parsedatetime,
python-tzlocal, python-isodate, python2-isodate, python-iso8601,
python2-iso8601, python-monotonic, python2-monotonic, python-pyrfc3339,
python2-pyrfc3339, python-arrow, python2-arrow, python-aniso8601,
python2-aniso8601): Move from here...
* gnu/packages/time.scm: ...to here.
* gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/django.scm,
gnu/packages/ebook.scm,
gnu/packages/gnome.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/mail.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/rdf.scm,
gnu/packages/statistics.scm,
gnu/packages/tls.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm: Adjust accordingly.
2017-11-18 11:58:44 +01:00
|
|
|
|
#:use-module (gnu packages time)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
#:use-module (gnu packages tls)
|
2020-10-12 05:38:49 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (srfi srfi-1))
|
|
|
|
|
|
2020-09-11 18:45:24 +02:00
|
|
|
|
(define-public python-potr
|
|
|
|
|
(package
|
|
|
|
|
(name "python-potr")
|
|
|
|
|
(version "1.0.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 19:18:54 +01:00
|
|
|
|
(url "https://github.com/python-otr/pure-python-otr")
|
2020-09-11 18:45:24 +02:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name
|
|
|
|
|
(git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1hzw6h01fm216nmipyylgz0zybd80w1xsk12m7djycnhqrnrvvv1"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pycrypto))
|
2020-09-11 18:45:24 +02:00
|
|
|
|
(synopsis "Python OTR Implementation")
|
|
|
|
|
(description "Python OTR is an Off-The-Record Protocol Implementation in
|
|
|
|
|
Python. It does not bind to libotr.")
|
|
|
|
|
(home-page "https://github.com/python-otr/pure-python-otr")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2018-04-23 00:12:54 +02:00
|
|
|
|
(define-public python-base58
|
|
|
|
|
(package
|
|
|
|
|
(name "python-base58")
|
2022-01-12 20:47:00 +01:00
|
|
|
|
(version "2.1.1")
|
2018-04-23 00:12:54 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "base58" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-01-12 20:47:00 +01:00
|
|
|
|
"1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65"))))
|
2018-04-23 00:12:54 +02:00
|
|
|
|
(build-system python-build-system)
|
2022-01-12 20:47:00 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests? (invoke "pytest" "-vv")))))))
|
2018-04-23 00:12:54 +02:00
|
|
|
|
(native-inputs
|
2022-01-12 20:47:00 +01:00
|
|
|
|
(list python-pyhamcrest python-pytest python-pytest-benchmark))
|
2018-04-23 00:12:54 +02:00
|
|
|
|
(home-page "https://github.com/keis/base58")
|
|
|
|
|
(synopsis "Base58 and Base58Check implementation")
|
|
|
|
|
(description "Base58 and Base58Check implementation compatible
|
|
|
|
|
with what is used by the Bitcoin network.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-04-19 17:47:28 +02:00
|
|
|
|
(define-public python-bcrypt
|
|
|
|
|
(package
|
|
|
|
|
(name "python-bcrypt")
|
2021-05-05 18:20:58 +02:00
|
|
|
|
(version "3.2.0")
|
2018-04-19 17:47:28 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "bcrypt" version))
|
|
|
|
|
(sha256
|
2021-05-05 18:20:58 +02:00
|
|
|
|
(base32 "0agvzdn7r7jx5y4scl5gjmrmr6njvizwmr9n7h1kmaahdrrc34sv"))))
|
2018-04-19 17:47:28 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pycparser python-pytest))
|
2018-04-19 17:47:28 +02:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cffi python-six))
|
2018-04-19 17:47:28 +02:00
|
|
|
|
(home-page "https://github.com/pyca/bcrypt/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Modern password hashing library")
|
|
|
|
|
(description
|
|
|
|
|
"Bcrypt is a Python module which provides a password hashing method based
|
|
|
|
|
on the Blowfish password hashing algorithm, as described in
|
|
|
|
|
@url{http://static.usenix.org/events/usenix99/provos.html,\"A Future-Adaptable
|
|
|
|
|
Password Scheme\"} by Niels Provos and David Mazieres.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(define-public python-passlib
|
|
|
|
|
(package
|
|
|
|
|
(name "python-passlib")
|
2020-10-14 15:23:13 +02:00
|
|
|
|
(version "1.7.4")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "passlib" version))
|
|
|
|
|
(sha256
|
2020-10-14 15:23:13 +02:00
|
|
|
|
(base32 "015y5qaw9qnxr29lg60dml1g5rbqd4586wy5n8m41ib55gvm1zfy"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-nose))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-bcrypt))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'set-PYTHON_EGG_CACHE
|
2020-10-14 15:23:13 +02:00
|
|
|
|
;; Some tests require access to "$HOME/.cython".
|
2021-09-17 19:55:33 +02:00
|
|
|
|
(lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp"))))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(home-page "https://bitbucket.org/ecollins/passlib")
|
2019-11-30 00:40:10 +01:00
|
|
|
|
(synopsis "Comprehensive password hashing framework")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(description
|
|
|
|
|
"Passlib is a password hashing library for Python 2 & 3, which provides
|
|
|
|
|
cross-platform implementations of over 30 password hashing algorithms, as well
|
|
|
|
|
as a framework for managing existing password hashes. It's designed to be
|
|
|
|
|
useful for a wide range of tasks, from verifying a hash found in /etc/shadow,
|
|
|
|
|
to providing full-strength password hashing for multi-user application.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-06-26 06:32:06 +02:00
|
|
|
|
(define-public python-pyblake2
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyblake2")
|
|
|
|
|
(version "1.1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyblake2" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gz9hgznv5zw4qjq43xa56y0yikimx30gffvibxzm0nv5sq7xk2w"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/dchest/pyblake2")
|
|
|
|
|
(synopsis "BLAKE2 hash function for Python")
|
|
|
|
|
(description "BLAKE2 is a cryptographic hash function, which offers
|
|
|
|
|
stronger security while being as fast as MD5 or SHA-1, and comes in two
|
|
|
|
|
flavors: @code{BLAKE2b}, optimized for 64-bit platforms and produces digests
|
|
|
|
|
of any size between 1 and 64 bytes, and @code{BLAKE2s}, optimized for 8- to
|
|
|
|
|
32-bit platforms and produces digests of any size between 1 and 32 bytes.
|
|
|
|
|
|
|
|
|
|
This package provides a Python interface for BLAKE2.")
|
|
|
|
|
;; The COPYING file declares it as public domain, with the option to
|
|
|
|
|
;; alternatively use and redistribute it under a variety of permissive
|
|
|
|
|
;; licenses. cc0 is explicitly mentioned in setup.py and pyblake2module.c.
|
|
|
|
|
(license (list license:public-domain license:cc0))))
|
|
|
|
|
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(define-public python-paramiko
|
|
|
|
|
(package
|
|
|
|
|
(name "python-paramiko")
|
2020-09-04 20:45:36 +02:00
|
|
|
|
(version "2.7.2")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "paramiko" version))
|
|
|
|
|
(sha256
|
2020-09-04 20:45:36 +02:00
|
|
|
|
(base32 "0dahwq623jnna7gsr9j0mkwr9k2n1pvkapjryhcx508d5jxg8dkz"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2018-04-12 20:09:58 +02:00
|
|
|
|
`(;; FIXME: Tests require many unpackaged libraries, see dev-requirements.txt.
|
|
|
|
|
#:tests? #f))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-bcrypt python-pyasn1 python-pynacl python-cryptography))
|
2018-09-21 13:13:45 +02:00
|
|
|
|
(home-page "https://www.paramiko.org/")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(synopsis "SSHv2 protocol library")
|
|
|
|
|
(description "Paramiko is a python implementation of the SSHv2 protocol,
|
|
|
|
|
providing both client and server functionality. While it leverages a Python C
|
|
|
|
|
extension for low level cryptography (PyCrypto), Paramiko itself is a pure
|
|
|
|
|
Python interface around SSH networking concepts.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
|
|
|
|
(define-public python-ecdsa
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ecdsa")
|
2022-01-18 13:57:01 +01:00
|
|
|
|
(version "0.17.0")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-01-27 22:38:42 +01:00
|
|
|
|
(uri (pypi-uri "ecdsa" version))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(sha256
|
2022-01-18 13:57:01 +01:00
|
|
|
|
(base32 "1ak8xa2r660d85abrlffp0bqvwdadg9ga4066g856hcy8fxh1xdr"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
2019-12-18 08:54:47 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
2022-01-18 13:57:01 +01:00
|
|
|
|
(lambda _ (invoke
|
|
|
|
|
"pytest"
|
|
|
|
|
"-vv"
|
|
|
|
|
"-k"
|
|
|
|
|
"not test_multithreading_with_interrupts"))))))
|
2019-12-18 08:53:48 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-six))
|
2019-12-18 08:53:48 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list openssl python-pytest))
|
2019-10-08 21:31:53 +02:00
|
|
|
|
(home-page "https://github.com/warner/python-ecdsa")
|
|
|
|
|
(synopsis "ECDSA cryptographic signature library (pure python)")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(description
|
|
|
|
|
"This is an easy-to-use implementation of ECDSA cryptography (Elliptic
|
|
|
|
|
Curve Digital Signature Algorithm), implemented purely in Python. With this
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 21:31:52 +02:00
|
|
|
|
library, you can quickly create key pairs (signing key and verifying key), sign
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
messages, and verify the signatures. The keys and signatures are very short,
|
|
|
|
|
making them easy to handle and incorporate into other protocols.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-ecdsa
|
|
|
|
|
(package-with-python2 python-ecdsa))
|
|
|
|
|
|
|
|
|
|
;;; Pycrypto is abandoned upstream:
|
|
|
|
|
;;;
|
|
|
|
|
;;; https://github.com/dlitz/pycrypto/issues/173
|
|
|
|
|
;;;
|
|
|
|
|
;;; TODO Remove this package from GNU Guix.
|
|
|
|
|
(define-public python-pycrypto
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pycrypto")
|
|
|
|
|
(version "2.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pycrypto" version))
|
2020-04-11 16:04:26 +02:00
|
|
|
|
(patches (search-patches "python-pycrypto-CVE-2013-7459.patch"
|
|
|
|
|
"python-pycrypto-time-clock.patch"))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python gmp))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-build-env
|
|
|
|
|
;; pycrypto runs an autoconf configure script behind the scenes
|
|
|
|
|
(lambda _ (setenv "CONFIG_SHELL" (which "bash")) #t)))))
|
2020-01-18 20:11:42 +01:00
|
|
|
|
(home-page "https://www.dlitz.net/software/pycrypto/")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(synopsis "Cryptographic modules for Python")
|
|
|
|
|
(description
|
|
|
|
|
"Pycrypto is a collection of both secure hash functions (such as SHA256
|
|
|
|
|
and RIPEMD160), and various encryption algorithms (AES, DES, RSA, ElGamal,
|
|
|
|
|
etc.). The package is structured to make adding new modules easy.")
|
|
|
|
|
(license license:public-domain)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pycrypto
|
|
|
|
|
(let ((pycrypto (package-with-python2 python-pycrypto)))
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 08:42:12 +01:00
|
|
|
|
(package/inherit pycrypto
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-2)
|
|
|
|
|
,@(alist-delete
|
|
|
|
|
"python"
|
|
|
|
|
(package-inputs pycrypto)))))))
|
|
|
|
|
|
2020-01-08 15:55:28 +01:00
|
|
|
|
(define-public python-kerberos
|
|
|
|
|
(package
|
|
|
|
|
(name "python-kerberos")
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "kerberos" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19663qxmma0i8bfbjc2iwy5hgq0g4pfb75r023v5dps68zfvffgh"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list mit-krb5))
|
2020-01-08 15:55:28 +01:00
|
|
|
|
(home-page "https://github.com/apple/ccs-pykerberos")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Python Kerberos library used by CalendarServer")
|
|
|
|
|
(description
|
|
|
|
|
"This Python package is a high-level wrapper for Kerberos (GSSAPI)
|
|
|
|
|
operations. The goal is to avoid having to build a module that wraps the
|
|
|
|
|
entire Kerberos.framework, and instead offer a limited set of functions that
|
|
|
|
|
do what is needed for client/server Kerberos authentication based on
|
|
|
|
|
<http://www.ietf.org/rfc/rfc4559.txt>.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(define-public python-keyring
|
|
|
|
|
(package
|
|
|
|
|
(name "python-keyring")
|
2021-02-14 13:18:08 +01:00
|
|
|
|
(version "22.0.1")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "keyring" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-14 13:18:08 +01:00
|
|
|
|
"1pvqc6may03did0iz98gasg7cy4h8ljzs4ibh927bfzda8a3xjws"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
2020-01-11 22:38:13 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
2021-02-14 13:19:21 +01:00
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
2022-04-20 07:14:57 +02:00
|
|
|
|
(invoke "pytest" "-vv" "-c" "/dev/null" "tests")))))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-toml
|
|
|
|
|
python-pytest
|
|
|
|
|
python-setuptools
|
|
|
|
|
python-setuptools-scm))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-secretstorage))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(home-page "https://github.com/jaraco/keyring")
|
|
|
|
|
(synopsis "Store and access your passwords safely")
|
|
|
|
|
(description
|
|
|
|
|
"The Python keyring lib provides a easy way to access the system keyring
|
|
|
|
|
service from python. It can be used in any application that needs safe
|
|
|
|
|
password storage.")
|
|
|
|
|
;; "MIT" and PSF dual license
|
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
2020-03-17 07:59:18 +01:00
|
|
|
|
(define-public python-keyrings.alt
|
|
|
|
|
(package
|
|
|
|
|
(name "python-keyrings.alt")
|
|
|
|
|
(version "3.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "keyrings.alt" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gdjdqpq2hf770p6iwi891mil0vbsdhvy88x0v8b2w4y4b28lcli"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file "keyrings/alt/_win_crypto.py")
|
|
|
|
|
;; Rely on python-keyring>20:
|
|
|
|
|
;; https://github.com/jaraco/keyrings.alt/issues/33
|
|
|
|
|
(substitute* '("keyrings/alt/tests/test_Gnome.py"
|
|
|
|
|
"keyrings/alt/tests/test_Google.py"
|
|
|
|
|
"keyrings/alt/tests/test_Windows.py"
|
|
|
|
|
"keyrings/alt/tests/test_file.py"
|
|
|
|
|
"keyrings/alt/tests/test_pyfs.py")
|
|
|
|
|
(("keyring.tests.test_backend") "keyring.testing.backend")
|
|
|
|
|
(("keyring.tests.util") "keyring.testing.util"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-keyring python-pytest python-setuptools-scm))
|
2020-03-17 07:59:18 +01:00
|
|
|
|
(home-page "https://github.com/jaraco/keyrings.alt")
|
|
|
|
|
(synopsis "Alternate keyring implementations")
|
|
|
|
|
(description "Keyrings in this package may have security risks or other
|
|
|
|
|
implications. These backends were extracted from the main keyring project to
|
|
|
|
|
make them available for those who wish to employ them, but are discouraged for
|
|
|
|
|
general production use. Include this module and use its backends at your own
|
|
|
|
|
risk.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-07-13 15:57:28 +02:00
|
|
|
|
(define-public python-certauth
|
|
|
|
|
(package
|
|
|
|
|
(name "python-certauth")
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "certauth" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pyopenssl python-tldextract))
|
2021-07-13 15:57:28 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pytest-cov))
|
2021-07-13 15:57:28 +02:00
|
|
|
|
(home-page "https://github.com/ikreymer/certauth")
|
|
|
|
|
(synopsis "Certificate authority creation tool")
|
|
|
|
|
(description "This package provides a small library, built on top of
|
|
|
|
|
pyOpenSSL, which allows for creating a custom certificate authority (CA)
|
|
|
|
|
certificate, and generating on-demand dynamic host certs using that CA
|
|
|
|
|
certificate. It is most useful for use with a man-in-the-middle HTTPS proxy,
|
|
|
|
|
for example, for recording or replaying web content.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(define-public python-certifi
|
|
|
|
|
(package
|
|
|
|
|
(name "python-certifi")
|
2022-01-22 15:50:09 +01:00
|
|
|
|
(version "2021.10.8")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "certifi" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-01-22 15:50:09 +01:00
|
|
|
|
"0wl8ln7acd797i1q7mmb430l6hqwhmk4bd37x8ycw02b3my4x23q"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
2020-05-14 23:05:18 +02:00
|
|
|
|
(arguments '(#:tests? #f)) ;no tests
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(home-page "https://certifi.io/")
|
|
|
|
|
(synopsis "Python CA certificate bundle")
|
|
|
|
|
(description
|
|
|
|
|
"Certifi is a Python library that contains a CA certificate bundle, which
|
|
|
|
|
is used by the Requests library to verify HTTPS requests.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-certifi
|
|
|
|
|
(package-with-python2 python-certifi))
|
|
|
|
|
|
2022-05-30 16:56:05 +02:00
|
|
|
|
(define-public python-cryptography-vectors-next
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "python-cryptography-vectors")
|
2022-02-02 14:49:30 +01:00
|
|
|
|
(version "36.0.1")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cryptography_vectors" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-02-02 14:49:30 +01:00
|
|
|
|
"166mvhhmgglqai1sjkkb76mpdkad2yykam11d2w44hs2snpr117w"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/pyca/cryptography")
|
|
|
|
|
(synopsis "Test vectors for the cryptography package")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains test vectors for the cryptography package.")
|
|
|
|
|
;; Distributed under either BSD-3 or ASL2.0
|
|
|
|
|
(license (list license:bsd-3 license:asl2.0))))
|
|
|
|
|
|
2022-05-30 16:56:05 +02:00
|
|
|
|
(define-public python-cryptography-vectors
|
|
|
|
|
(package
|
|
|
|
|
(inherit python-cryptography-vectors-next)
|
|
|
|
|
(version "3.4.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cryptography_vectors" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1wl0ynh3lzhc6q59g8mybvijmnp195x7fjxlb3h3sgcraw14312c"))))))
|
|
|
|
|
|
|
|
|
|
(define-public python-cryptography-next
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "python-cryptography")
|
2022-01-23 19:11:19 +01:00
|
|
|
|
(version "36.0.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cryptography" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f1n8bvngarhsssm60xc59xfzkh7yqpyyyypaph3v5bs7pfc3rak"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:imported-modules (append %cargo-build-system-modules
|
|
|
|
|
%python-build-system-modules)
|
|
|
|
|
#:modules `(((guix build cargo-build-system) #:prefix cargo:)
|
|
|
|
|
,@%python-build-system-modules
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(ice-9 match))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases (@ (guix build python-build-system) %standard-phases)
|
|
|
|
|
(add-after 'unpack 'loosen-ouroboros-version
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/rust/Cargo.toml"
|
|
|
|
|
(("ouroboros = \"0\\.13\"")
|
|
|
|
|
"ouroboros = \"0.14\""))))
|
|
|
|
|
(add-before 'build 'configure-cargo
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Hide irrelevant inputs from cargo-build-system so it does
|
|
|
|
|
;; not try to unpack sanity-check.py, etc.
|
|
|
|
|
(let ((cargo-inputs (filter (match-lambda
|
|
|
|
|
((name . path)
|
|
|
|
|
(or (string-prefix? "rust-" name)
|
|
|
|
|
(string=? "gcc" name))))
|
|
|
|
|
inputs)))
|
|
|
|
|
(with-directory-excursion "src/rust"
|
|
|
|
|
((assoc-ref cargo:%standard-phases 'unpack-rust-crates)
|
|
|
|
|
#:inputs cargo-inputs
|
|
|
|
|
#:vendor-dir "guix-vendor")
|
|
|
|
|
((assoc-ref cargo:%standard-phases 'configure)
|
|
|
|
|
#:inputs cargo-inputs)
|
|
|
|
|
((assoc-ref cargo:%standard-phases 'patch-cargo-checksums)
|
|
|
|
|
#:vendor-dir "guix-vendor"))
|
|
|
|
|
(rename-file "src/rust/.cargo" ".cargo"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv" "tests")))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list openssl
|
|
|
|
|
rust-aliasable-0.1
|
|
|
|
|
rust-asn1-0.8
|
|
|
|
|
rust-asn1-derive-0.8
|
|
|
|
|
rust-autocfg-1
|
|
|
|
|
rust-base64-0.13
|
|
|
|
|
rust-bitflags-1
|
|
|
|
|
rust-cfg-if-0.1
|
|
|
|
|
rust-cfg-if-1
|
|
|
|
|
rust-chrono-0.4
|
|
|
|
|
rust-cloudabi-0.1
|
|
|
|
|
rust-lazy-static-1
|
|
|
|
|
rust-libc-0.2
|
|
|
|
|
rust-indoc-0.3
|
|
|
|
|
rust-indoc-impl-0.3
|
|
|
|
|
rust-inflector-0.11
|
|
|
|
|
rust-instant-0.1
|
|
|
|
|
rust-lock-api-0.4
|
|
|
|
|
rust-num-integer-0.1
|
|
|
|
|
rust-num-traits-0.2
|
|
|
|
|
rust-once-cell-1
|
|
|
|
|
rust-ouroboros-0.14
|
|
|
|
|
rust-ouroboros-macro-0.14
|
|
|
|
|
rust-parking-lot-0.11
|
|
|
|
|
rust-parking-lot-core-0.8
|
|
|
|
|
rust-paste-0.1
|
|
|
|
|
rust-paste-impl-0.1
|
|
|
|
|
rust-pem-1
|
|
|
|
|
rust-proc-macro-error-1
|
|
|
|
|
rust-proc-macro-error-attr-1
|
|
|
|
|
rust-proc-macro-hack-0.5
|
|
|
|
|
rust-proc-macro2-1
|
|
|
|
|
rust-pyo3-0.15
|
|
|
|
|
rust-pyo3-build-config-0.15
|
|
|
|
|
rust-pyo3-macros-0.15
|
|
|
|
|
rust-pyo3-macros-backend-0.15
|
|
|
|
|
rust-quote-1
|
2022-05-11 00:22:15 +02:00
|
|
|
|
rust-redox-syscall-0.2
|
2022-01-23 19:11:19 +01:00
|
|
|
|
rust-scopeguard-1
|
|
|
|
|
rust-smallvec-1
|
|
|
|
|
rust-stable-deref-trait-1
|
|
|
|
|
rust-syn-1
|
|
|
|
|
rust-unicode-xid-0.2
|
|
|
|
|
rust-unindent-0.1
|
|
|
|
|
rust-version-check-0.9
|
|
|
|
|
rust-winapi-0.3))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-asn1crypto python-cffi python-six python-idna
|
|
|
|
|
python-iso8601))
|
|
|
|
|
(native-inputs
|
2022-05-30 16:56:05 +02:00
|
|
|
|
(list python-cryptography-vectors-next
|
2022-01-23 19:11:19 +01:00
|
|
|
|
python-hypothesis
|
|
|
|
|
python-pretend
|
|
|
|
|
python-pytz
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-subtests
|
|
|
|
|
python-setuptools-rust
|
2022-02-02 14:49:30 +01:00
|
|
|
|
rust
|
|
|
|
|
`(,rust "cargo")))
|
|
|
|
|
(home-page "https://github.com/pyca/cryptography")
|
|
|
|
|
(synopsis "Cryptographic recipes and primitives for Python")
|
|
|
|
|
(description
|
|
|
|
|
"cryptography is a package which provides cryptographic recipes and
|
|
|
|
|
primitives to Python developers. It aims to be the “cryptographic standard
|
|
|
|
|
library” for Python. The package includes both high level recipes, and low
|
|
|
|
|
level interfaces to common cryptographic algorithms such as symmetric ciphers,
|
|
|
|
|
message digests and key derivation functions.")
|
|
|
|
|
;; Distributed under either BSD-3 or ASL2.0
|
|
|
|
|
(license (list license:bsd-3 license:asl2.0))
|
|
|
|
|
(properties `((python2-variant . ,(delay python2-cryptography))))))
|
|
|
|
|
|
2022-05-30 16:56:05 +02:00
|
|
|
|
(define-public python-cryptography
|
|
|
|
|
(package
|
|
|
|
|
(inherit python-cryptography-next)
|
|
|
|
|
(version "3.4.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cryptography" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "072awar70cwfd2hnx0pvp1dkc7gw45mbm3wcyddvxz5frva5xk4l"))))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-no-rust
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CRYPTOGRAPHY_DONT_BUILD_RUST" "1"))))))
|
|
|
|
|
(inputs (list openssl))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-cryptography-vectors
|
|
|
|
|
python-hypothesis
|
|
|
|
|
python-pretend
|
|
|
|
|
python-pytz
|
|
|
|
|
python-pytest
|
|
|
|
|
python-setuptools-rust))))
|
|
|
|
|
|
2022-02-02 14:49:30 +01:00
|
|
|
|
(define-public python2-cryptography-vectors
|
|
|
|
|
(package
|
|
|
|
|
(inherit python-cryptography-vectors)
|
2022-05-30 17:15:26 +02:00
|
|
|
|
(name "python2-cryptography-vectors")
|
|
|
|
|
(version "3.3.2")
|
2022-02-02 14:49:30 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cryptography_vectors" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-30 17:15:26 +02:00
|
|
|
|
"1yhaps0f3h2yjb6lmz953z1l1d84y9swk4k3gj9nqyk4vbx5m7cc"))))
|
2022-02-02 14:49:30 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(list #:python python-2))))
|
|
|
|
|
|
|
|
|
|
(define-public python2-cryptography
|
|
|
|
|
(let ((crypto (package-with-python2
|
|
|
|
|
(strip-python2-variant python-cryptography))))
|
|
|
|
|
(package
|
|
|
|
|
(inherit crypto)
|
2022-05-30 17:15:26 +02:00
|
|
|
|
(version "3.3.2")
|
2022-02-02 14:49:30 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cryptography" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-30 17:15:26 +02:00
|
|
|
|
"1vcvw4lkw1spiq322pm1256kail8nck6bbgpdxx3pqa905wd6q2s"))))
|
2022-02-02 14:49:30 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The sanity-check attempts attempts to import the non-existent
|
|
|
|
|
;; modules "_openssl" and "_padding".
|
|
|
|
|
(delete 'sanity-check))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python2-cryptography-vectors python2-hypothesis python2-pretend
|
|
|
|
|
python2-pytz python2-pytest))
|
|
|
|
|
(inputs (list openssl))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(modify-inputs (package-propagated-inputs crypto)
|
|
|
|
|
(prepend python2-ipaddress
|
|
|
|
|
python2-backport-ssl-match-hostname
|
|
|
|
|
python2-enum34))))))
|
2022-01-23 19:11:19 +01:00
|
|
|
|
|
2022-05-31 18:35:13 +02:00
|
|
|
|
;; This is the last version which is compatable with python-cryptography < 35.
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(define-public python-pyopenssl
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyopenssl")
|
2022-05-31 18:35:13 +02:00
|
|
|
|
(version "21.0.0")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyOpenSSL" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-31 18:35:13 +02:00
|
|
|
|
"1cqcc20fwl521z3fxsc1c98gbnhb14q55vrvjfp6bn6h8rg8qbay"))
|
|
|
|
|
(patches (search-patches "python2-pyopenssl-openssl-compat.patch"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2022-02-13 15:14:04 +01:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
;; PyOpenSSL runs tests against a certificate with a fixed
|
|
|
|
|
;; expiry time. To ensure successful builds in the future,
|
|
|
|
|
;; set the time to roughly the release date.
|
|
|
|
|
(invoke "faketime" "2022-02-01" "py.test" "-v" "-k"
|
|
|
|
|
(string-append
|
|
|
|
|
;; This test tries to look up certificates from
|
|
|
|
|
;; the compiled-in default path in OpenSSL, which
|
|
|
|
|
;; does not exist in the build environment.
|
|
|
|
|
"not test_fallback_default_verify_paths "
|
|
|
|
|
;; This test attempts to make a connection to
|
|
|
|
|
;; an external web service.
|
|
|
|
|
"and not test_set_default_verify_paths "
|
|
|
|
|
;; Fails on i686-linux and possibly other 32-bit platforms
|
|
|
|
|
;; https://github.com/pyca/pyopenssl/issues/974
|
|
|
|
|
"and not test_verify_with_time"))))))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cryptography python-six))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list openssl))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libfaketime python-flaky python-pretend python-pytest))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(home-page "https://github.com/pyca/pyopenssl")
|
|
|
|
|
(synopsis "Python wrapper module around the OpenSSL library")
|
|
|
|
|
(description
|
|
|
|
|
"PyOpenSSL is a high-level wrapper around a subset of the OpenSSL
|
|
|
|
|
library.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pyopenssl
|
2022-05-31 18:35:13 +02:00
|
|
|
|
(package-with-python2 python-pyopenssl))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
|
2017-12-24 01:51:20 +01:00
|
|
|
|
(define-public python-ed25519
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ed25519")
|
|
|
|
|
(version "1.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ed25519" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ahx1nkxa0xis3cw0h5c4fpgv8mq4znkq7kajly33lc3317bk499"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/warner/python-ed25519")
|
|
|
|
|
(synopsis "Ed25519 public-key signatures")
|
|
|
|
|
(description "Ed25519 public-key signatures")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-ed25519
|
|
|
|
|
(package-with-python2 python-ed25519))
|
|
|
|
|
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(define-public python-axolotl-curve25519
|
|
|
|
|
(package
|
|
|
|
|
(name "python-axolotl-curve25519")
|
2020-06-02 04:01:56 +02:00
|
|
|
|
(version "0.4.1.post2")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-02 04:01:56 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-axolotl-curve25519" version))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-02 04:01:56 +02:00
|
|
|
|
"18v3rfyv7xi26fb97nw1xc0l6x8wi0i4xj8dlq4gblpbjxiac187"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/tgalal/python-axolotl-curve25519")
|
|
|
|
|
(synopsis "Python wrapper for curve25519 library")
|
|
|
|
|
(description "This is a python wrapper for the curve25519 library
|
|
|
|
|
with ed25519 signatures. The C code was pulled from
|
|
|
|
|
libaxolotl-android. At the moment this wrapper is meant for use by
|
|
|
|
|
python-axolotl.")
|
|
|
|
|
(license (list license:gpl3 ; Most files
|
|
|
|
|
license:bsd-3)))) ; curve/curve25519-donna.c
|
|
|
|
|
|
|
|
|
|
(define-public python2-axolotl-curve25519
|
|
|
|
|
(package-with-python2 python-axolotl-curve25519))
|
|
|
|
|
|
|
|
|
|
(define-public python-axolotl
|
|
|
|
|
(package
|
|
|
|
|
(name "python-axolotl")
|
2020-06-02 04:03:29 +02:00
|
|
|
|
(version "0.2.3")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-02 04:03:29 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-axolotl" version))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(sha256
|
2020-06-02 04:03:29 +02:00
|
|
|
|
(base32
|
|
|
|
|
"1bwdp24fmriffwx91aigs9k162albb51iskp23nc939z893q23py"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Don't install tests
|
|
|
|
|
(add-before 'install 'remove-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("axolotl/tests" "build/lib/axolotl/tests"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-axolotl-curve25519 python-cryptography python-protobuf))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(home-page "https://github.com/tgalal/python-axolotl")
|
|
|
|
|
(synopsis "Python port of libaxolotl-android")
|
|
|
|
|
(description "This is a python port of libaxolotl-android. This
|
|
|
|
|
is a ratcheting forward secrecy protocol that works in synchronous and
|
|
|
|
|
asynchronous messaging environments.")
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-axolotl
|
|
|
|
|
(package-with-python2 python-axolotl))
|
|
|
|
|
|
|
|
|
|
;; SlowAES isn't compatible with Python 3.
|
|
|
|
|
(define-public python2-slowaes
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-slowaes")
|
|
|
|
|
(version "0.1a1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "slowaes" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02dzajm83a7lqgxf6r3hgj64wfmcxz8gs4nvgxpvj5n19kjqlrc3"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments `(#:python ,python-2))
|
|
|
|
|
(home-page "http://code.google.com/p/slowaes/")
|
|
|
|
|
(synopsis "Implementation of AES in Python")
|
|
|
|
|
(description "This package contains an implementation of AES in Python.
|
|
|
|
|
This implementation is slow (hence the project name) but still useful when
|
|
|
|
|
faster ones are not available.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python-pyaes
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyaes")
|
2018-03-10 23:20:08 +01:00
|
|
|
|
(version "1.6.1")
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyaes" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-10 23:20:08 +01:00
|
|
|
|
"13vdaff15k0jyfcss4b4xvfgm8xyv0nrbyw5n1qc7lrqbi0b3h82"))))
|
gnu: Move crypto packages from python to python-crypto.
* gnu/packages/python.scm (python-passlib, python2-passlib)
(python-py-bcrypt, python2-py-bcrypt)
(python-paramiko, python2-paramiko, python-ecdsa, python2-ecdsa)
(python-pycrypto, python2-pycrypto, python-keyring, python2-keyring)
(python-certifi, python2-certifi)
(python-cryptography-vectors, python2-cryptography-vectors)
(python-cryptography, python2-cryptography)
(python-pyopenssl, python2-pyopenssl)
(python-axolotl-curve25519, python2-axolotl-curve25519)
(python-axolotl, python2-axolotl, python2-slowaes)
(python-pyaes, python2-pyaes): Move to...
* gnu/packages/python-crypto.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/crypto.scm, gnu/packages/finance.scm,
gnu/packages/irc.scm, gnu/packages/jrnl.scm,
gnu/packages/messaging.scm, gnu/packages/openstack.scm,
gnu/packages/python-web.scm, gnu/packages/tls.scm,
gnu/packages/xorg.scm: Adjust accordingly.
2017-11-15 14:10:30 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/ricmoo/pyaes")
|
|
|
|
|
(synopsis "Implementation of AES in Python")
|
|
|
|
|
(description "This package contains a pure-Python implementation of the
|
|
|
|
|
AES block cipher algorithm and the common modes of operation (CBC, CFB, CTR,
|
|
|
|
|
ECB and OFB).")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pyaes
|
|
|
|
|
(package-with-python2 python-pyaes))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-asn1crypto
|
|
|
|
|
(package
|
|
|
|
|
(name "python-asn1crypto")
|
2020-10-19 15:43:15 +02:00
|
|
|
|
(version "1.4.0")
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(source
|
2020-10-19 16:33:29 +02:00
|
|
|
|
(origin
|
2018-07-23 15:40:21 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2020-10-19 16:33:29 +02:00
|
|
|
|
(url "https://github.com/wbond/asn1crypto")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19abibn6jw20mzi1ln4n9jjvpdka8ygm4m439hplyrdfqbvgm01r"))))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(build-system python-build-system)
|
2020-07-14 21:26:11 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "python" "run.py" "tests"))))))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(home-page "https://github.com/wbond/asn1crypto")
|
|
|
|
|
(synopsis "ASN.1 parser and serializer in Python")
|
|
|
|
|
(description "asn1crypto is an ASN.1 parser and serializer with definitions
|
|
|
|
|
for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7,
|
|
|
|
|
PKCS#8, PKCS#12, PKCS#5, X.509 and TSP.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-asn1crypto
|
|
|
|
|
(package-with-python2 python-asn1crypto))
|
|
|
|
|
|
|
|
|
|
(define-public python-pynacl
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pynacl")
|
2020-07-14 21:24:39 +02:00
|
|
|
|
(version "1.4.0")
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "PyNaCl" version))
|
|
|
|
|
(modules '((guix build utils)))
|
2020-07-14 21:24:39 +02:00
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove spurious dependency on python-wheel, can be removed
|
|
|
|
|
;; for 1.5.
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("\"wheel\"") ""))
|
|
|
|
|
;; Remove bundled libsodium.
|
2021-01-24 05:49:59 +01:00
|
|
|
|
(delete-file-recursively "src/libsodium")))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-14 21:24:39 +02:00
|
|
|
|
"01b56hxrbif3hx8l6rwz5kljrgvlbj7shmmd2rjh0hn7974a5sal"))))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2021-01-24 05:49:59 +01:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(add-before 'build 'use-system-sodium
|
|
|
|
|
(lambda _
|
2021-01-24 05:49:59 +01:00
|
|
|
|
(setenv "SODIUM_INSTALL" "system")))
|
2020-07-14 21:24:39 +02:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2021-01-24 05:49:59 +01:00
|
|
|
|
(invoke "pytest" "-vv"))))))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-hypothesis python-pytest))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cffi python-six libsodium))
|
2017-11-15 14:44:36 +01:00
|
|
|
|
(home-page "https://github.com/pyca/pynacl/")
|
|
|
|
|
(synopsis "Python bindings to libsodium")
|
|
|
|
|
(description
|
|
|
|
|
"PyNaCl is a Python binding to libsodium, which is a fork of the
|
|
|
|
|
Networking and Cryptography library. These libraries have a stated goal
|
|
|
|
|
of improving usability, security and speed.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2020-03-04 20:37:21 +01:00
|
|
|
|
(define-public python-blurhash
|
|
|
|
|
(package
|
|
|
|
|
(name "python-blurhash")
|
|
|
|
|
(version "1.1.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; Tests not included in pypi release and releases not tagged in git repo.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/halcy/blurhash-python")
|
|
|
|
|
(commit "22e081ef1c24da1bb5c5eaa2c1d6649724deaef8")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "setup.cfg")
|
|
|
|
|
(invoke "pytest"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-numpy python-pillow python-pytest))
|
2020-03-04 20:37:21 +01:00
|
|
|
|
(home-page "https://github.com/halcy/blurhash-python")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Pure-Python implementation of the blurhash algorithm")
|
|
|
|
|
(description
|
|
|
|
|
"Pure-Python implementation of the blurhash algorithm.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-12-24 03:00:20 +01:00
|
|
|
|
(define-public python-ecpy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ecpy")
|
2019-02-09 02:11:04 +01:00
|
|
|
|
(version "0.10.0")
|
2017-12-24 03:00:20 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ECPy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-09 02:11:04 +01:00
|
|
|
|
"1gc3i5s93zq6x1nkaxkq1dvmsc12vmrw0hns9f5s1hcb78ni52c8"))))
|
2017-12-24 03:00:20 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-future))
|
2017-12-24 03:00:20 +01:00
|
|
|
|
(home-page "https://github.com/ubinity/ECPy")
|
|
|
|
|
(synopsis "Pure Python Elliptic Curve Library")
|
|
|
|
|
(description "This package provides a Elliptic Curve Library in pure
|
|
|
|
|
Python.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-ecpy
|
|
|
|
|
(package-with-python2 python-ecpy))
|
2018-01-19 19:18:08 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-josepy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-josepy")
|
2018-04-26 21:20:21 +02:00
|
|
|
|
(version "1.1.0")
|
2018-01-19 19:18:08 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "josepy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-26 21:20:21 +02:00
|
|
|
|
"11khz8malzrv375b27jjkv66z6z6khdx1v5mkkr4vq16gp3n4p7v"))))
|
2018-01-19 19:18:08 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2018-04-26 21:20:21 +02:00
|
|
|
|
;; The tests require flake8 >= 3.5, which is not yet packaged.
|
2018-01-19 19:18:08 +01:00
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cryptography python-pyopenssl python-six))
|
2018-04-26 21:20:21 +02:00
|
|
|
|
;; TODO Enable when we have flake8 >= 3.5.
|
2018-01-19 19:18:08 +01:00
|
|
|
|
; (native-inputs
|
|
|
|
|
; `(("python-coverage" ,python-coverage)
|
|
|
|
|
; ("python-flake8" ,python-flake8)
|
|
|
|
|
; ("python-isort" ,python-isort)
|
|
|
|
|
; ("python-mock" ,python-mock)
|
2018-04-26 21:20:21 +02:00
|
|
|
|
; ("python-pytest" ,python-pytest)
|
2018-01-19 19:18:08 +01:00
|
|
|
|
; ("python-pytest-cov" ,python-pytest-cov)
|
|
|
|
|
; ("python-pytest-cache" ,python-pytest-cache)
|
|
|
|
|
; ("python-pytest-flake8" ,python-pytest-flake8)))
|
|
|
|
|
(home-page "https://github.com/certbot/josepy")
|
|
|
|
|
(synopsis "JOSE protocol implementation in Python")
|
|
|
|
|
(description "This package provides a Python implementation of the JOSE
|
|
|
|
|
protocol (Javascript Object Signing and Encryption).")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-josepy
|
|
|
|
|
(package-with-python2 python-josepy))
|
2018-01-19 20:58:50 +01:00
|
|
|
|
|
2021-08-18 00:43:16 +02:00
|
|
|
|
(define pycryptodome-unbundle-tomcrypt-snippet
|
|
|
|
|
#~(begin
|
|
|
|
|
;; Unbundle libtomcrypt.
|
|
|
|
|
(delete-file-recursively "src/libtom")
|
|
|
|
|
(substitute* "src/DES.c"
|
|
|
|
|
(("#include \"libtom/tomcrypt_des.c\"")
|
|
|
|
|
"#include <tomcrypt.h>"))
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("include_dirs=\\['src/', 'src/libtom/'\\]")
|
|
|
|
|
;; FIXME: why does '-ltomcrypt' need to be added
|
|
|
|
|
;; manually, even when 'tomcrypt' is added to 'libraries'?
|
|
|
|
|
;; This behaviour is not documented at
|
|
|
|
|
;; <https://docs.python.org/3/extending/building.html>.
|
|
|
|
|
"include_dirs=['src/'], libraries=['tomcrypt', 'tommath'],
|
|
|
|
|
extra_link_args=['-ltomcrypt', '-ltommath']"))))
|
|
|
|
|
|
2018-01-19 20:58:50 +01:00
|
|
|
|
(define-public python-pycryptodome
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pycryptodome")
|
2021-10-15 04:40:14 +02:00
|
|
|
|
(version "3.11.0")
|
2018-01-19 20:58:50 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pycryptodome" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-15 04:40:14 +02:00
|
|
|
|
"1l3a80z3lxcj1q0hzj1d3plavy2d51y4vzcd85zj0zm7yyxrd022"))
|
2021-08-18 00:43:16 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet pycryptodome-unbundle-tomcrypt-snippet)))
|
2018-01-19 20:58:50 +01:00
|
|
|
|
(build-system python-build-system)
|
2021-08-18 00:43:16 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libtomcrypt libtommath))
|
2018-01-19 20:58:50 +01:00
|
|
|
|
(home-page "https://www.pycryptodome.org")
|
2020-11-14 00:20:53 +01:00
|
|
|
|
(synopsis "Low-level cryptographic Python library")
|
|
|
|
|
(description
|
|
|
|
|
"PyCryptodome is a self-contained Python package of low-level
|
|
|
|
|
cryptographic primitives. It's not a wrapper to a separate C library like
|
|
|
|
|
OpenSSL. To the largest possible extent, algorithms are implemented in pure
|
|
|
|
|
Python. Only the pieces that are extremely critical to performance (e.g.,
|
|
|
|
|
block ciphers) are implemented as C extensions.
|
|
|
|
|
|
|
|
|
|
You are expected to have a solid understanding of cryptography and security
|
|
|
|
|
engineering to successfully use these primitives. You must also be able to
|
|
|
|
|
recognize that some are obsolete (e.g., TDES) or even insecure (RC4).
|
2018-01-19 20:58:50 +01:00
|
|
|
|
|
2020-11-14 00:20:53 +01:00
|
|
|
|
It provides many enhancements over the last release of PyCrypto (2.6.1):
|
2018-01-19 20:58:50 +01:00
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
|
|
|
|
|
@item Accelerated AES on Intel platforms via AES-NI
|
2020-11-14 00:20:53 +01:00
|
|
|
|
@item First-class support for PyPy
|
2018-01-19 20:58:50 +01:00
|
|
|
|
@item Elliptic curves cryptography (NIST P-256 curve only)
|
|
|
|
|
@item Better and more compact API (nonce and iv attributes for ciphers,
|
|
|
|
|
automatic generation of random nonces and IVs, simplified CTR cipher mode, and
|
|
|
|
|
more)
|
|
|
|
|
@item SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
|
|
|
|
|
@item Salsa20 and ChaCha20 stream ciphers
|
|
|
|
|
@item scrypt and HKDF
|
|
|
|
|
@item Deterministic (EC)DSA
|
|
|
|
|
@item Password-protected PKCS#8 key containers
|
|
|
|
|
@item Shamir’s Secret Sharing scheme
|
|
|
|
|
@item Random numbers get sourced directly from the OS (and not from a CSPRNG
|
|
|
|
|
in userspace)
|
|
|
|
|
@item Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
|
2020-11-14 00:20:53 +01:00
|
|
|
|
@item Major clean-ups and simplification of the code base
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
This package provides drop-in compatibility with PyCrypto. It is one of two
|
|
|
|
|
PyCryptodome variants, the other being python-pycryptodomex.")
|
2020-11-14 00:22:03 +01:00
|
|
|
|
(license (list license:bsd-2
|
|
|
|
|
license:public-domain)))) ; code inherited from PyCrypto
|
2018-01-19 20:58:50 +01:00
|
|
|
|
|
|
|
|
|
(define-public python2-pycryptodome
|
|
|
|
|
(package-with-python2 python-pycryptodome))
|
2018-04-17 21:57:35 +02:00
|
|
|
|
|
2020-11-14 00:04:08 +01:00
|
|
|
|
(define-public python-pycryptodomex
|
2020-11-15 00:28:36 +01:00
|
|
|
|
(package (inherit python-pycryptodome)
|
2020-11-14 00:04:08 +01:00
|
|
|
|
(name "python-pycryptodomex")
|
2020-11-15 00:28:36 +01:00
|
|
|
|
(version (package-version python-pycryptodome))
|
2020-11-14 00:04:08 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pycryptodomex" version))
|
|
|
|
|
(sha256
|
2021-10-15 04:40:14 +02:00
|
|
|
|
(base32 "0vcd65ylri2a4pdqcc1897jasj7wfmqklj8x3pdynmdvark3d603"))
|
2021-08-18 12:46:51 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet pycryptodome-unbundle-tomcrypt-snippet)))
|
2020-11-14 00:04:08 +01:00
|
|
|
|
(description
|
|
|
|
|
"PyCryptodome is a self-contained Python package of low-level
|
|
|
|
|
cryptographic primitives. It's not a wrapper to a separate C library like
|
|
|
|
|
OpenSSL. To the largest possible extent, algorithms are implemented in pure
|
|
|
|
|
Python. Only the pieces that are extremely critical to performance (e.g.,
|
|
|
|
|
block ciphers) are implemented as C extensions.
|
|
|
|
|
|
|
|
|
|
You are expected to have a solid understanding of cryptography and security
|
|
|
|
|
engineering to successfully use these primitives. You must also be able to
|
|
|
|
|
recognize that some are obsolete (e.g., TDES) or even insecure (RC4).
|
|
|
|
|
|
|
|
|
|
It provides many enhancements over the last release of PyCrypto (2.6.1):
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
|
|
|
|
|
@item Accelerated AES on Intel platforms via AES-NI
|
|
|
|
|
@item First-class support for PyPy
|
|
|
|
|
@item Elliptic curves cryptography (NIST P-256 curve only)
|
|
|
|
|
@item Better and more compact API (nonce and iv attributes for ciphers,
|
|
|
|
|
automatic generation of random nonces and IVs, simplified CTR cipher mode, and
|
|
|
|
|
more)
|
|
|
|
|
@item SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
|
|
|
|
|
@item Salsa20 and ChaCha20 stream ciphers
|
|
|
|
|
@item scrypt and HKDF
|
|
|
|
|
@item Deterministic (EC)DSA
|
|
|
|
|
@item Password-protected PKCS#8 key containers
|
|
|
|
|
@item Shamir’s Secret Sharing scheme
|
|
|
|
|
@item Random numbers get sourced directly from the OS (and not from a CSPRNG
|
|
|
|
|
in userspace)
|
|
|
|
|
@item Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
|
|
|
|
|
@item Major clean-ups and simplification of the code base
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
PyCryptodomex is the stand-alone version of PyCryptodome that no longer
|
2020-11-15 00:28:36 +01:00
|
|
|
|
provides drop-in compatibility with PyCrypto.")))
|
2020-11-14 00:04:08 +01:00
|
|
|
|
|
2018-04-17 21:57:35 +02:00
|
|
|
|
(define-public python-m2crypto
|
|
|
|
|
(package
|
|
|
|
|
(name "python-m2crypto")
|
2019-09-23 17:09:02 +02:00
|
|
|
|
(version "0.35.2")
|
2018-04-17 21:57:35 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "M2Crypto" version))
|
|
|
|
|
(sha256
|
2019-09-23 17:09:02 +02:00
|
|
|
|
(base32 "09yirf3w77w6f49q6nxhrjm9c3a4y9s30s1k09chqrw8zdgx8sjc"))))
|
2018-04-17 21:57:35 +02:00
|
|
|
|
(build-system python-build-system)
|
2021-03-10 04:57:58 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(;; FIXME: Tests start failing with time due to date checks in TLS
|
|
|
|
|
;; certificates.
|
|
|
|
|
#:tests? #f))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list openssl))
|
|
|
|
|
(native-inputs (list swig))
|
2018-04-17 21:57:35 +02:00
|
|
|
|
(home-page "https://gitlab.com/m2crypto/m2crypto")
|
|
|
|
|
(synopsis "Python crypto and TLS toolkit")
|
|
|
|
|
(description "@code{M2Crypto} is a complete Python wrapper for OpenSSL
|
|
|
|
|
featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers
|
|
|
|
|
(including AES); TLS functionality to implement clients and servers; HTTPS
|
|
|
|
|
extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing
|
|
|
|
|
AuthCookies for web session management; FTP/TLS client and server; S/MIME;
|
|
|
|
|
M2Crypto can also be used to provide TLS for Twisted. Smartcards supported
|
|
|
|
|
through the Engine interface.")
|
2018-10-22 18:23:15 +02:00
|
|
|
|
(properties `((python2-variant . ,(delay python2-m2crypto))))
|
2018-04-17 21:57:35 +02:00
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-m2crypto
|
2018-10-22 18:23:15 +02:00
|
|
|
|
(let ((m2crypto (package-with-python2
|
|
|
|
|
(strip-python2-variant python-m2crypto))))
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 08:42:12 +01:00
|
|
|
|
(package/inherit m2crypto
|
2018-10-22 18:23:15 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python2-typing" ,python2-typing))))))
|
2018-04-23 00:14:06 +02:00
|
|
|
|
|
2020-10-12 05:38:49 +02:00
|
|
|
|
(define-public python-pykeepass
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pykeepass")
|
2020-11-14 00:22:53 +01:00
|
|
|
|
(version "3.2.1")
|
2020-10-12 05:38:49 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
;; Source tarball on PyPI doesn't include tests.
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libkeepass/pykeepass")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-11-14 00:22:53 +01:00
|
|
|
|
(base32 "1symxf4ahylynihnp9z4z3lh2vy65ipvg8s4hjrnn936hcaaxghk"))))
|
2020-10-12 05:38:49 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-kdbx-writable
|
|
|
|
|
;; Tests have to write to the .kdbx files in the test directory.
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "tests"
|
|
|
|
|
(for-each make-file-writable (find-files "."))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-before 'build 'patch-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Update requirements from dependency==version
|
|
|
|
|
;; to dependency>=version.
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("==") ">="))
|
|
|
|
|
#t)))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-argon2-cffi
|
|
|
|
|
python-construct
|
|
|
|
|
python-dateutil
|
|
|
|
|
python-future
|
|
|
|
|
python-lxml
|
|
|
|
|
python-pycryptodomex))
|
2020-10-12 05:38:49 +02:00
|
|
|
|
(home-page "https://github.com/libkeepass/pykeepass")
|
|
|
|
|
(synopsis "Python library to interact with keepass databases")
|
|
|
|
|
(description
|
|
|
|
|
"This library allows you to write entries to a KeePass database. It
|
|
|
|
|
supports KDBX3 and KDBX4.")
|
|
|
|
|
;; There are no copyright headers in the source code. The LICENSE file
|
|
|
|
|
;; indicates GPL3.
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-04-23 00:14:06 +02:00
|
|
|
|
(define-public python-pylibscrypt
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pylibscrypt")
|
|
|
|
|
(version "1.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pylibscrypt" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1b3rgzl6dbzs08vhv41b6y4n5189wv7lr27acxn104hs45745abs"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2018-06-26 23:58:00 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'hard-code-path-to-libscrypt
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((libscrypt (assoc-ref inputs "libscrypt")))
|
|
|
|
|
(substitute* "pylibscrypt/pylibscrypt.py"
|
|
|
|
|
(("find_library\\('scrypt'\\)")
|
|
|
|
|
(string-append "'" libscrypt "/lib/libscrypt.so'")))
|
|
|
|
|
#t))))
|
|
|
|
|
;; The library can use various scrypt implementations and tests all of
|
|
|
|
|
;; them. Since we only provide a single implementation, most tests
|
|
|
|
|
;; fail. Simply skip them.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
;; FIXME: Using "libscrypt" is the second best choice. The best one
|
|
|
|
|
;; requires "hashlib.scrypt", provided by Python 3.6+ built with OpenSSL
|
|
|
|
|
;; 1.1+. Use that as soon as Guix provides it.
|
2018-04-23 00:14:06 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libscrypt))
|
2018-04-23 00:14:06 +02:00
|
|
|
|
(home-page "https://github.com/jvarho/pylibscrypt")
|
|
|
|
|
(synopsis "Scrypt for Python")
|
|
|
|
|
(description "There are a lot of different scrypt modules for Python, but
|
|
|
|
|
none of them have everything that I'd like, so here's one more. It uses
|
2018-06-26 23:58:00 +02:00
|
|
|
|
@code{libscrypt}.")
|
2018-04-23 00:14:06 +02:00
|
|
|
|
(license license:isc)))
|
2018-04-23 00:19:50 +02:00
|
|
|
|
|
|
|
|
|
(define-public python-libnacl
|
|
|
|
|
(package
|
|
|
|
|
(name "python-libnacl")
|
2021-01-02 21:26:38 +01:00
|
|
|
|
(version "1.7.2")
|
2018-04-23 00:19:50 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "libnacl" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-02 21:26:38 +01:00
|
|
|
|
"0srx7i264v4dq9and8y6gpzzhrg8jpxs5iy9ggw4plimfj0rjfdm"))))
|
2018-04-23 00:19:50 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'locate-libsodium
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "libnacl/__init__.py"
|
2021-01-02 21:26:38 +01:00
|
|
|
|
(("/usr/local/lib/libsodium.so")
|
2021-07-16 16:19:35 +02:00
|
|
|
|
(search-input-file inputs "/lib/libsodium.so"))))))))
|
2018-04-23 00:19:50 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pyhamcrest))
|
2018-04-23 00:19:50 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libsodium))
|
2018-04-23 00:19:50 +02:00
|
|
|
|
(home-page "https://libnacl.readthedocs.org/")
|
|
|
|
|
(synopsis "Python bindings for libsodium based on ctypes")
|
|
|
|
|
(description "@code{libnacl} is used to gain direct access to the
|
|
|
|
|
functions exposed by @code{NaCl} library via @code{libsodium}. It has
|
|
|
|
|
been constructed to maintain extensive documentation on how to use
|
|
|
|
|
@code{NaCl} as well as being completely portable.")
|
|
|
|
|
(license license:asl2.0)))
|
2018-04-23 00:25:41 +02:00
|
|
|
|
|
2020-10-13 02:53:22 +02:00
|
|
|
|
(define-public python-pyotp
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyotp")
|
2020-11-08 19:58:32 +01:00
|
|
|
|
(version "2.4.1")
|
2020-10-13 02:53:22 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyotp" version))
|
|
|
|
|
(sha256
|
2020-11-08 19:58:32 +01:00
|
|
|
|
(base32 "0jsqfmx9i7j8z81r4zazv76xzy1fcq8v9s2r4kvx7ajfndq3z2h3"))))
|
2020-10-13 02:53:22 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/pyauth/pyotp")
|
|
|
|
|
(synopsis "Python One Time Password Library")
|
|
|
|
|
(description
|
|
|
|
|
"PyOTP is a Python library for generating and verifying one-time
|
|
|
|
|
passwords. It can be used to implement two-factor (2FA) or multi-factor
|
|
|
|
|
(MFA) authentication methods in web applications and in other systems that
|
|
|
|
|
require users to log in.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-05-16 15:22:28 +02:00
|
|
|
|
(define-public python-scrypt
|
|
|
|
|
(package
|
|
|
|
|
(name "python-scrypt")
|
2019-02-14 16:02:00 +01:00
|
|
|
|
(version "0.8.7")
|
2018-05-16 15:22:28 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "scrypt" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-14 16:02:00 +01:00
|
|
|
|
"0hjk71k3mgnl8siikm9lii9im8kv0rb7inkjzx78rnancra48xxr"))))
|
2018-05-16 15:22:28 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list openssl))
|
2020-03-21 00:07:12 +01:00
|
|
|
|
(home-page "https://bitbucket.org/mhallin/py-scrypt")
|
2018-05-16 15:22:28 +02:00
|
|
|
|
(synopsis "Bindings for the scrypt key derivation function library")
|
|
|
|
|
(description "This is a set of Python bindings for the scrypt key
|
|
|
|
|
derivation function.")
|
|
|
|
|
(license license:bsd-2)))
|
2018-11-22 10:49:07 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-service-identity
|
|
|
|
|
(package
|
|
|
|
|
(name "python-service-identity")
|
2019-04-17 22:27:18 +02:00
|
|
|
|
(version "18.1.0")
|
2018-11-22 10:49:07 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "service_identity" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-04-17 22:27:18 +02:00
|
|
|
|
"0b9f5qiqjy8ralzgwjgkhx82h6h8sa7532psmb8mkd65md5aan08"))))
|
2018-11-22 10:49:07 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-attrs python-pyasn1 python-pyasn1-modules
|
|
|
|
|
python-pyopenssl))
|
2018-11-22 10:49:07 +01:00
|
|
|
|
(home-page "https://service-identity.readthedocs.io/")
|
|
|
|
|
(synopsis "Service identity verification for PyOpenSSL")
|
|
|
|
|
(description
|
|
|
|
|
"@code{service_identity} aspires to give you all the tools you need
|
|
|
|
|
for verifying whether a certificate is valid for the intended purposes.
|
|
|
|
|
In the simplest case, this means host name verification. However,
|
|
|
|
|
service_identity implements RFC 6125 fully and plans to add other
|
|
|
|
|
relevant RFCs too.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-service-identity
|
|
|
|
|
(package-with-python2 python-service-identity))
|
2019-02-17 20:16:24 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-hkdf
|
|
|
|
|
(package
|
|
|
|
|
(name "python-hkdf")
|
|
|
|
|
(version "0.0.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "hkdf" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jhxk5vhxmxxjp3zj526ry521v9inzzl8jqaaf0ma65w6k332ak2"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-nose))
|
2019-02-17 20:16:24 +01:00
|
|
|
|
(home-page "https://github.com/casebeer/python-hkdf")
|
|
|
|
|
(synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)")
|
|
|
|
|
(description "This package provides a Python implementation of the HMAC Key
|
|
|
|
|
Derivation function (HKDF) defined in RFC 5869.")
|
|
|
|
|
(license license:bsd-2)))
|
2019-02-17 20:16:39 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-spake2
|
|
|
|
|
(package
|
|
|
|
|
(name "python-spake2")
|
|
|
|
|
(version "0.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "spake2" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x16r7lrbklvfzbacb66qv9iiih6liq1y612dqh2chgf555n2yn1"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-hkdf))
|
2019-02-17 20:16:39 +01:00
|
|
|
|
(home-page "https://github.com/warner/python-spake2")
|
|
|
|
|
(synopsis "SPAKE2 password-authenticated key exchange in Python")
|
|
|
|
|
(description "This package provides a Python implementation of the SPAKE2
|
|
|
|
|
Password-Authenticated Key Exchange algorithm.")
|
|
|
|
|
(license license:expat)))
|
2019-02-17 20:29:30 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-txtorcon
|
|
|
|
|
(package
|
|
|
|
|
(name "python-txtorcon")
|
|
|
|
|
(version "19.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "txtorcon" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; The tests fail immediately due to a missing file. Reported upstream:
|
|
|
|
|
;; <https://github.com/meejah/txtorcon/issues/330>
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-automat
|
|
|
|
|
python-idna
|
|
|
|
|
python-incremental
|
|
|
|
|
python-service-identity
|
|
|
|
|
python-twisted
|
|
|
|
|
python-zope-interface))
|
2019-02-17 20:29:30 +01:00
|
|
|
|
(home-page "https://github.com/meejah/txtorcon")
|
|
|
|
|
(synopsis "Twisted-based Tor controller client")
|
|
|
|
|
(description "This package provides a Twisted-based Tor controller client,
|
|
|
|
|
with state-tracking and configuration abstractions.")
|
|
|
|
|
(license license:expat)))
|
2019-10-29 16:14:13 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-keyutils
|
|
|
|
|
(package
|
|
|
|
|
(name "python-keyutils")
|
|
|
|
|
(version "0.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "keyutils" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0lipygpzhwzzsq2k5imb1jgkmj8y4khxdwhzadjs3bd56g6bmkx9"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pytest python-pytest-runner))
|
2019-10-29 16:14:13 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list keyutils))
|
2019-10-29 16:14:13 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/sassoftware/python-keyutils")
|
|
|
|
|
(synopsis "Python bindings for keyutils")
|
|
|
|
|
(description
|
|
|
|
|
"This is a set of python bindings for keyutils, a key management suite
|
|
|
|
|
that leverages the infrastructure provided by the Linux kernel for safely
|
2019-11-12 03:53:40 +01:00
|
|
|
|
storing and retrieving sensitive information in your programs.")
|
2019-10-29 16:14:13 +01:00
|
|
|
|
(license license:asl2.0)))
|
2019-11-19 16:09:13 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-mcuboot-imgtool
|
|
|
|
|
(package
|
|
|
|
|
(name "python-mcuboot-imgtool")
|
|
|
|
|
(version "1.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/JuulLabs-OSS/mcuboot")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1m1csyvzq4jx81zg635ssy1n7sc0z539z0myh872ll3nwqx7wa0q"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-broken-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "scripts/imgtool/keys/ed25519_test.py"
|
|
|
|
|
(("raw_sign") "sign_digest"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'change-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "scripts")
|
|
|
|
|
#t)))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-click python-intelhex python-cryptography))
|
2019-11-19 16:09:13 +01:00
|
|
|
|
(home-page "https://mcuboot.com")
|
|
|
|
|
(synopsis "Tool to securely sign firmware images for booting by MCUboot")
|
|
|
|
|
(description "MCUboot is a secure bootloader for 32-bit MCUs. This
|
|
|
|
|
package provides a tool to securely sign firmware images for booting by
|
|
|
|
|
MCUboot.")
|
|
|
|
|
(license license:expat)))
|
2020-01-11 22:34:43 +01:00
|
|
|
|
|
2020-01-08 15:56:52 +01:00
|
|
|
|
(define-public python-ntlm-auth
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ntlm-auth")
|
|
|
|
|
(version "1.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ntlm-auth" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16mavidki4ma5ip8srqalr19gz4f5yn3cnmmgps1fmgfr24j63rm"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cryptography))
|
2020-01-08 15:56:52 +01:00
|
|
|
|
(home-page "https://github.com/jborean93/ntlm-auth")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Calculates NTLM Authentication codes")
|
|
|
|
|
(description
|
|
|
|
|
"This library handles the low-level details of NTLM authentication for
|
|
|
|
|
use in authenticating with a service that uses NTLM. It will create and parse
|
|
|
|
|
the 3 different message types in the order required and produce a base64
|
|
|
|
|
encoded value that can be attached to the HTTP header.
|
|
|
|
|
|
|
|
|
|
The goal of this library is to offer full NTLM support including signing and
|
|
|
|
|
sealing of messages as well as supporting MIC for message integrity and the
|
|
|
|
|
ability to customise and set limits on the messages sent. Please see Features
|
|
|
|
|
and Backlog for a list of what is and is not currently supported.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2020-01-11 22:35:18 +01:00
|
|
|
|
(define-public python-secretstorage
|
|
|
|
|
(package
|
|
|
|
|
(name "python-secretstorage")
|
2021-02-14 13:07:09 +01:00
|
|
|
|
(version "3.3.1")
|
2020-01-11 22:35:18 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "SecretStorage" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-14 13:07:09 +01:00
|
|
|
|
"15ginv4gzxrx77n7517xnvf2jcpqc6ran12s951hc85zlr8nqrpx"))))
|
2020-01-11 22:35:18 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; Tests require a running dbus service.
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cryptography python-jeepney))
|
2020-01-11 22:35:18 +01:00
|
|
|
|
(home-page "https://github.com/mitya57/secretstorage")
|
|
|
|
|
(synopsis "Python bindings to FreeDesktop.org Secret Service API")
|
|
|
|
|
(description
|
|
|
|
|
"@code{python-secretstorage} provides a way for securely storing passwords
|
|
|
|
|
and other secrets. It uses D-Bus Secret Service API that is supported by GNOME
|
|
|
|
|
Keyring (since version 2.30) and KSecretsService. SecretStorage supports most
|
|
|
|
|
of the functions provided by Secret Service, including creating and deleting
|
|
|
|
|
items and collections, editing items, locking and unlocking collections
|
|
|
|
|
(asynchronous unlocking is also supported).")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-08-07 15:24:14 +02:00
|
|
|
|
(define-public python-trustme
|
|
|
|
|
(package
|
|
|
|
|
(name "python-trustme")
|
|
|
|
|
(version "0.6.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "trustme" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0v3vr5z6apnfmklf07m45kv5kaqvm6hxrkaqywch57bjd2siiywx"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
|
(invoke "pytest" "-vv"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-more-itertools
|
|
|
|
|
python-pyopenssl
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-cov
|
|
|
|
|
python-service-identity
|
|
|
|
|
python-zipp))
|
2020-08-07 15:24:14 +02:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cryptography))
|
2020-08-07 15:24:14 +02:00
|
|
|
|
(home-page "https://github.com/python-trio/trustme")
|
|
|
|
|
(synopsis "Fake a certificate authority for tests")
|
|
|
|
|
(description
|
|
|
|
|
"@code{trustme} is a tiny Python package that does one thing: it gives you
|
|
|
|
|
a fake certificate authority (CA) that you can use to generate fake TLS certs to
|
|
|
|
|
use in your tests.")
|
|
|
|
|
;; Either license applies.
|
|
|
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
|
|
2020-08-09 14:37:28 +02:00
|
|
|
|
(define-public python-certipy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-certipy")
|
|
|
|
|
(version "0.1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "certipy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0n980gqpzh0fm58h3i4mi2i10wgj606lscm1r5sk60vbf6vh8mv9"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pyopenssl))
|
2020-08-09 14:37:28 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pytest))
|
2020-08-09 14:37:28 +02:00
|
|
|
|
(home-page "https://github.com/LLNL/certipy")
|
|
|
|
|
(synopsis "Utility to create and sign CAs and certificates")
|
|
|
|
|
(description
|
|
|
|
|
"Certipy was made to simplify the certificate creation process. To that
|
|
|
|
|
end, certipy exposes methods for creating and managing certificate authorities,
|
|
|
|
|
certificates, signing and building trust bundles.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-01-11 22:34:43 +01:00
|
|
|
|
(define-public python-jeepney
|
|
|
|
|
(package
|
|
|
|
|
(name "python-jeepney")
|
2021-02-14 13:04:57 +01:00
|
|
|
|
(version "0.6.0")
|
2020-01-11 22:34:43 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "jeepney" version))
|
|
|
|
|
(sha256
|
2021-02-14 13:04:57 +01:00
|
|
|
|
(base32 "0mw6ch5s4czpmsiwqwhcidgk27858pl8vlvb7acrxjkm4ribcnbx"))))
|
2020-01-11 22:34:43 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-testpath python-tornado python-trio python-pytest
|
|
|
|
|
python-pytest-trio))
|
2020-01-11 22:34:43 +01:00
|
|
|
|
(home-page "https://gitlab.com/takluyver/jeepney")
|
|
|
|
|
(synopsis "Low-level, pure Python DBus protocol wrapper")
|
|
|
|
|
(description
|
|
|
|
|
"This is a low-level, pure Python DBus protocol client. It has an
|
|
|
|
|
I/O-free core, and integration modules for different event loops.")
|
|
|
|
|
(license license:expat)))
|
2020-03-17 08:02:53 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-argon2-cffi
|
|
|
|
|
(package
|
|
|
|
|
(name "python-argon2-cffi")
|
2020-05-25 00:47:53 +02:00
|
|
|
|
(version "20.1.0")
|
2020-03-17 08:02:53 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "argon2-cffi" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-25 00:47:53 +02:00
|
|
|
|
"0zgr4mnnm0p4i99023safb0qb8cgvl202nly1rvylk2b7qnrn0nq"))
|
2020-03-17 08:02:53 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin (delete-file-recursively "extras") #t))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "ARGON2_CFFI_USE_SYSTEM" "1")
|
|
|
|
|
(invoke "python" "setup.py" "build")))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
|
(invoke "pytest")
|
|
|
|
|
(invoke "python" "-m" "argon2" "--help")
|
|
|
|
|
;; see tox.ini
|
|
|
|
|
(invoke "python" "-m" "argon2" "-n" "1" "-t" "1" "-m" "8" "-p" "1"))))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-cffi python-six))
|
|
|
|
|
(inputs (list argon2))
|
2020-03-17 08:02:53 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-hypothesis python-pytest))
|
2020-03-17 08:02:53 +01:00
|
|
|
|
(home-page "https://argon2-cffi.readthedocs.io/")
|
|
|
|
|
(synopsis "Secure Password Hashes for Python")
|
|
|
|
|
(description
|
|
|
|
|
"Argon2 is a secure password hashing algorithm. It is designed to have
|
|
|
|
|
both a configurable runtime as well as memory consumption. This means that you
|
|
|
|
|
can decide how long it takes to hash a password and how much memory is required.")
|
|
|
|
|
(license license:expat)))
|
2020-03-17 08:03:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-privy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-privy")
|
|
|
|
|
(version "6.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
;; Releases are untagged
|
|
|
|
|
(url "https://github.com/ofek/privy")
|
|
|
|
|
(commit "2838db3df239797c71bddacc48a4c49a83f35747")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1m32dh5fqc8cy7jyf1z5fs6zvmdkbq5fi98hr609gbl7s0l0y0i9"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "python" "-m" "pytest"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pytest))
|
2020-03-17 08:03:55 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-argon2-cffi python-cryptography))
|
2020-03-17 08:03:55 +01:00
|
|
|
|
(home-page "https://www.dropbox.com/developers")
|
|
|
|
|
(synopsis "Library to password-protect your data")
|
|
|
|
|
(description
|
|
|
|
|
"Privy is a small and fast utility for password-protecting secret
|
|
|
|
|
data such as API keys, cryptocurrency wallets, or seeds for digital
|
|
|
|
|
signatures.")
|
|
|
|
|
(license (list license:expat license:asl2.0)))) ; dual licensed
|
2020-07-23 14:03:21 +02:00
|
|
|
|
|
|
|
|
|
(define-public python-pgpy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pgpy")
|
2020-10-14 14:54:21 +02:00
|
|
|
|
(version "0.5.3")
|
2020-07-23 14:03:21 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "PGPy" version))
|
|
|
|
|
(sha256
|
2020-10-14 14:54:21 +02:00
|
|
|
|
(base32 "11rrq15gmn6qbahli7czflfcngjl7zyybjlvk732my6axnf2d754"))))
|
2020-07-23 14:03:21 +02:00
|
|
|
|
(build-system python-build-system)
|
2020-10-14 14:56:40 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest")))))))
|
2020-07-23 14:03:21 +02:00
|
|
|
|
(native-inputs
|
2022-03-13 17:55:38 +01:00
|
|
|
|
(list python-pytest
|
2021-12-13 17:18:24 +01:00
|
|
|
|
python-wheel))
|
2022-03-13 17:55:38 +01:00
|
|
|
|
(propagated-inputs (list python-cryptography python-pyasn1
|
|
|
|
|
python-singledispatch python-six))
|
2020-07-23 14:03:21 +02:00
|
|
|
|
(home-page "https://github.com/SecurityInnovation/PGPy")
|
|
|
|
|
(synopsis "Python implementation of OpenPGP")
|
|
|
|
|
(description
|
|
|
|
|
"Currently, PGPy can load keys and signatures of all kinds in both ASCII
|
|
|
|
|
armored and binary formats.
|
|
|
|
|
|
|
|
|
|
It can create and verify RSA, DSA, and ECDSA signatures, at the moment. It
|
|
|
|
|
can also encrypt and decrypt messages using RSA and ECDH.")
|
|
|
|
|
(license license:bsd-3)))
|
2020-07-23 14:03:22 +02:00
|
|
|
|
|
2022-05-20 10:02:44 +02:00
|
|
|
|
(define-public python-pyu2f
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyu2f")
|
|
|
|
|
(version "0.1.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyu2f" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0srhzdbgdsqwpcw7awqm19yg3xbabqckfvrp8rbpvz2232hs7jm3"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments '(#:tests? #f)) ;none included
|
|
|
|
|
(propagated-inputs (list python-six))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-mock
|
|
|
|
|
python-pyfakefs
|
|
|
|
|
python-pytest
|
|
|
|
|
python-unittest2))
|
|
|
|
|
(home-page "https://github.com/google/pyu2f/")
|
|
|
|
|
(synopsis "U2F host library for interacting with a U2F device over USB")
|
|
|
|
|
(description
|
|
|
|
|
"Pyu2f is a Python-based U2F host library. It provides functionality for
|
|
|
|
|
interacting with a U2F device over USB.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2020-07-23 14:03:22 +02:00
|
|
|
|
(define-public python-sop
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sop")
|
|
|
|
|
(version "0.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sop" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gljyjsdn6hdmwlwwb5g5s0c031p6izamvfxp0d39x60af8k5jyf"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; There are no tests, and unittest throws an error trying
|
|
|
|
|
; to find some:
|
|
|
|
|
; TypeError: don't know how to make test from: 0.2.0
|
|
|
|
|
(home-page "https://gitlab.com/dkg/python-sop")
|
|
|
|
|
(synopsis "Stateless OpenPGP Command-Line Interface")
|
|
|
|
|
(description
|
|
|
|
|
"The Stateless OpenPGP Command-Line Interface (or sop) is a
|
|
|
|
|
specification that encourages OpenPGP implementors to provide a common,
|
|
|
|
|
relatively simple command-line API for purposes of object security.
|
|
|
|
|
|
|
|
|
|
This Python module helps implementers build such a CLI from any implementation
|
|
|
|
|
accessible to the Python interpreter.
|
|
|
|
|
|
|
|
|
|
It does not provide such an implementation itself -- this is just the
|
|
|
|
|
scaffolding for the command line, which should make it relatively easy to
|
|
|
|
|
supply a handful of python functions as methods to a class.")
|
|
|
|
|
(license license:expat))) ; MIT license
|