Commit Graph

284 Commits

Author SHA1 Message Date
Efraim Flashner
1f04e3d027
gnu: python-cryptography-rust: Enable tests.
* gnu/packages/python-crypto.scm (python-cryptography-rust)
[arguments]: Don't skip the tests. Add a custom 'check phase.
2023-08-14 19:37:37 +03:00
Efraim Flashner
a91628366a
gnu: python-cryptography: Update to 40.0.2.
* gnu/packages/python-crypto.scm (python-cryptography): Update to 40.0.2.
(python-cryptography-rust)[cargo-inputs]: Move rust-cc-1 here from
cargo-development-inputs.
[cargo-development-inputs]: Remove field.
2023-08-14 19:37:37 +03:00
Efraim Flashner
a3ba943b6f
gnu: python-cryptography-vectors: Update to 40.0.2.
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Update
to 40.0.2.
2023-08-14 19:37:37 +03:00
Z572
dc741120fe
gnu: python-m2crypto: Update to 0.38.0.
* gnu/packages/python-crypto.scm (python-m2crypto): Update to 0.38.0.
[build-system]: switch to PYPROJECT-BUILD-SYSTEM.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-06-12 19:25:50 +01:00
Rikard Nordgren
36ea29115c
gnu: Add python-crcmod.
* gnu/packages/python-crypto.scm (python-crcmod): New variable.

Co-authored-by: jgart <jgart@dismail.de>
Signed-off-by: jgart <jgart@dismail.de>
2023-05-23 08:55:02 -05:00
Juliana Sims
6ee8b5316c
gnu: python-txtorcon: Update to 23.0.0.
* gnu/packages/python-crypto.scm (python-txtorcon): Update to 23.0.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-22 17:05:22 +02:00
Juliana Sims
daeafac0c4
gnu: python-txtorcon: Run guix style.
* gnu/packages/python-crypto.scm (python-txtorcon): Run guix style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-22 17:05:22 +02:00
Juliana Sims
75ae763b4e
gnu: python-txtorcon: Fix failing build.
Oops, I forgot to add a copyright line - this version fixes that.

* gnu/packages/python-crypto.scm (python-txtorcon): Fix failing build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-22 17:05:22 +02:00
John Kehayias
779575cb33
gnu: python-ecdsa: Fix faulty commit.
Fix previous commit, which did not properly add the test to be skipped and
repeated the existing skipped test.  There is only one new test to be skipped.

* gnu/packages/python-crypto.scm (python-ecdsa)[arguments]: In the 'check'
phase, properly format the string for skipped tests.
2023-04-23 20:59:36 -04:00
John Kehayias
94a2e94a26
gnu: python-ecdsa: Skip two failing tests.
* gnu/packages/python-crypto.scm (python-ecdsa)[arguments]: In 'check' phase,
skip a couple more tests.
2023-04-23 20:48:20 -04:00
Andreas Enge
d1252b597d
Merge remote-tracking branch 'origin/master' into core-updates 2023-04-22 09:21:22 +02:00
Brendan Tildesley
604f911d2c
gnu: python-txtorcon: Fix build.
gnu/packages/python-crypto.scm (python-txtorcon): Fix build failure.
[propagated-inputs]: Add PYTHON-PYOPENSSL.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:53 +02:00
Andreas Enge
216d7bdb73
Merge remote-tracking branch 'origin/master' into core-updates 2023-04-17 19:17:39 +02:00
Efraim Flashner
bd0b398b67
gnu: python-jeepney: Update to 0.8.0.
* gnu/packages/python-crypto.scm (python-jeepney): Update to 0.8.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-async-timeout, python-pytest-asyncio,
python-flit-core. Remove python-tornado.
2023-04-17 11:13:26 +03:00
Efraim Flashner
929995a542
gnu: python-secretstorage: Update to 3.3.3.
* gnu/packages/python-crypto.scm (python-secretstorage): Update to 3.3.3.
2023-04-17 11:12:45 +03:00
Maxim Cournoyer
802a3b7ba3
gnu: python-pytest-7.1: Deprecate package.
The source was adjusted using the following command:

   $ git grep -rl python-pytest-7.1 |
     xargs sed -i 's/python-pytest-7.1/python-pytest/g'

* gnu/packages/check.scm (python-pytest-7.1): Delete variable.
2023-04-14 23:37:06 -04:00
Maxim Cournoyer
3bacd3c76a
Merge branch 'master' into core-updates.
Conflicts:
	gnu/local.mk
	gnu/packages/build-tools.scm
	gnu/packages/certs.scm
	gnu/packages/check.scm
	gnu/packages/compression.scm
	gnu/packages/cups.scm
	gnu/packages/fontutils.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/guile.scm
	gnu/packages/ibus.scm
	gnu/packages/image-processing.scm
	gnu/packages/linux.scm
	gnu/packages/music.scm
	gnu/packages/nss.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/qt.scm
	gnu/packages/ruby.scm
	gnu/packages/shells.scm
	gnu/packages/tex.scm
	gnu/packages/video.scm
	gnu/packages/vulkan.scm
	gnu/packages/web.scm
	gnu/packages/webkit.scm
	gnu/packages/wm.scm
2023-04-14 17:15:08 -04:00
Maxim Cournoyer
94d1992d9e
gnu: python-service-identity: Update to 21.1.0.
* gnu/packages/python-crypto.scm (python-service-identity): Update to 21.1.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: New field.
[propagated-inputs]: Remove python-pyopenssl.  Add python-cryptography and
python-six.
2023-04-14 15:12:07 -04:00
Maxim Cournoyer
bf7ac62911
gnu: python-pyopenssl: Update to 23.1.1.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 23.1.1.
[source]: Remove patches.
[arguments]: Update faketime date in check phase.
Normalize pytest invocation in check phase override.
[propagated-inputs]: Remove python-six.
2023-04-14 15:12:07 -04:00
Maxim Cournoyer
f204e8028a
gnu: python-cryptography: Update to 40.0.1 [fixes CVE-2023-23931].
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Delete
variable.
(python-cryptography-vectors-next): Rename to...
(python-cryptography-vectors): ... this.  Update to 40.0.1.
(python-cryptography): Delete variable.
(python-cryptography-next): Rename to...
(python-cryptography): ... this.  Update to 40.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:imported-modules and #:modules arguments.  Remove check
phase override.  Remove adjust-pyo3-requirement and configure-cargo phases.
Add disable-rust-extension-build and symlink-rust-library phases.
[native-inputs]: Replace python-cryptography-vectors-next with
python-cryptography-vectors.  Add python-iso8601.  Remove python-pytz.
Replace python-pytest with python-pytest-7.1.  Remove rust, rust:cargo and
python-setuptools-rust.
[inputs]: Remove all inputs.  Add python-cryptography-rust.
[propagated-inputs]: Remove python-asn1crypto, python-six, python-idna and
python-iso8601.
[description]: Start description with @code to avoid a lint warning.
2023-04-14 15:12:07 -04:00
Maxim Cournoyer
f60e76cd59
gnu: Add python-cryptography-rust.
* gnu/packages/python-crypto.scm (python-cryptography-rust): New variable.
2023-04-14 15:12:06 -04:00
Maxim Cournoyer
2ed5a1d535
gnu: python-service-identity: Update to 21.1.0.
* gnu/packages/python-crypto.scm (python-service-identity): Update to 21.1.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: New field.
[propagated-inputs]: Remove python-pyopenssl.  Add python-cryptography and
python-six.
2023-04-11 20:35:21 -04:00
Maxim Cournoyer
367fce7a2f
gnu: python-pyopenssl: Update to 23.1.1.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 23.1.1.
[source]: Remove patches.
[arguments]: Update faketime date in check phase.
Normalize pytest invocation in check phase override.
[propagated-inputs]: Remove python-six.
2023-04-11 20:35:21 -04:00
Maxim Cournoyer
5ec5e560ad
gnu: python-cryptography: Update to 40.0.1 [fixes CVE-2023-23931].
* gnu/packages/python-crypto.scm (python-cryptography-vectors): Delete
variable.
(python-cryptography-vectors-next): Rename to...
(python-cryptography-vectors): ... this.  Update to 40.0.1.
(python-cryptography): Delete variable.
(python-cryptography-next): Rename to...
(python-cryptography): ... this.  Update to 40.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove #:imported-modules and #:modules arguments.  Remove check
phase override.  Remove adjust-pyo3-requirement and configure-cargo phases.
Add disable-rust-extension-build and symlink-rust-library phases.
[native-inputs]: Replace python-cryptography-vectors-next with
python-cryptography-vectors.  Add python-iso8601.  Remove python-pytz.
Replace python-pytest with python-pytest-7.1.  Remove rust, rust:cargo and
python-setuptools-rust.
[inputs]: Remove all inputs.  Add python-cryptography-rust.
[propagated-inputs]: Remove python-asn1crypto, python-six, python-idna and
python-iso8601.
[description]: Start description with @code to avoid a lint warning.
2023-04-11 20:35:21 -04:00
Maxim Cournoyer
9e5102ca64
gnu: Add python-cryptography-rust.
* gnu/packages/python-crypto.scm (python-cryptography-rust): New variable.
2023-04-11 20:35:20 -04:00
Maxim Cournoyer
a1b826b338
gnu: python-trustme: Update to 0.9.0.
* gnu/packages/python-crypto.scm (python-trustme): Update to 0.9.0.
[build-system]: Use pyproject-build-system.
[arguments]: Delete field.
[propagated-inputs]: Add python-idna and python-ipaddress.
2023-03-29 13:23:45 -04:00
Andreas Enge
a55e18f17c
gnu: Remove python-pycrypto.
The package has seen its last release in 2013 and "is unmaintained,
obsolete, and contains security vulnerabilities" according to its homepage.

* gnu/packages/python-crypto.scm (python-pycrypto): Delete variable.
2023-02-25 18:37:09 +01:00
Andreas Enge
1e5aabc572
gnu: Remove python-potr.
The last release of the package dates from 2018.
According to its self-description: "This software is experimental and
potentially insecure. Do not rely on it"
It depends on the cryptography library python-pycrypto, which has had
its last release in 2013 and "is unmaintained, obsolete, and contains
security vulnerabilities" according to its homepage.

* gnu/packages/python-crypto.scm (python-potr): Delete variable.
2023-02-25 18:34:54 +01:00
Marius Bakke
39d607796b
gnu: python-pycryptodome: Update to 3.15.0.
* gnu/packages/python-crypto.scm (python-pycryptodome): Update to 3.15.0.
(python-pycryptodomex): Update hash.
2022-11-20 12:17:30 +01:00
Maxim Cournoyer
0b709b1471
gnu: python-keyring: Update to 23.9.3.
* gnu/packages/python-crypto.scm (python-keyring): Update to 23.9.3.
[origin]: Fix indentation.
[build-system]: Use pyproject-build-system.
[test-flags]: New argument.
[phases]: Remove check phase.  Add workaround-test-failure phase.
[native-inputs]: Remove python-setuptools.
[propagated-inputs]: Add python-importlib-metadata and python-jaraco-classes.
2022-11-01 12:07:12 -04:00
Efraim Flashner
322917aeb8
Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	gnu/packages/gnuzilla.scm
	gnu/packages/graphics.scm
	gnu/packages/gstreamer.scm
	gnu/packages/gtk.scm
	gnu/packages/kde-frameworks.scm
	gnu/packages/video.scm
2022-10-12 14:36:44 +03:00
Maxim Cournoyer
b2b838b2b4
gnu: python-pyotp: Update to 2.7.0.
* gnu/packages/python-crypto.scm (python-pyotp): Update to 2.7.0.
2022-10-10 01:07:09 -04:00
Maxim Cournoyer
e4dbc25794
gnu: Add python-zxcvbn.
* gnu/packages/python-crypto.scm (python-zxcvbn): New variable.
2022-10-10 01:03:33 -04:00
Maxim Cournoyer
3c6e220d81
Merge branch 'master' into staging.
With resolved conflicts in:
	gnu/local.mk
	gnu/packages/crates-io.scm
2022-09-27 14:27:28 -04:00
Ricardo Wurmus
eefc107aaf
gnu: Add python-blake3.
* gnu/packages/python-crypto.scm (python-blake3): New variable.
2022-09-25 21:24:30 +02:00
Marius Bakke
827b4117da
Merge branch 'master' into staging 2022-08-30 18:58:57 +02:00
Marius Bakke
db2444ad82
gnu: Introduce versioned 'openssl-1.1' variable.
...and use it in packages that do not yet support 3.0.

* gnu/packages/tls.scm (openssl): Rename to ...
(openssl-1.1): ... this.
(openssl/fixed): Inherit from OPENSSL-1.1.
(openssl-3.0): Likewise.
(openssl): Turn into alias for OPENSSL-1.1.
* gnu/packages/ruby.scm (ruby-2.6)[inputs]: Change from OPENSSL to OPENSSL-1.1.
(ruby-3.0)[inputs]: Change "openssl" input to OPENSSL.
(ruby-3.1): Inherit from RUBY-3.0.
* gnu/packages/python.scm (python-2.7)[inputs]: Change from OPENSSL to
OPENSSL-1.1.
(python-3.9)[inputs]: Replace "openssl" with OPENSSL.
* gnu/packages/python-crypto.scm (python-cryptography)[inputs]: Change from
OPENSSL to OPENSSL-1.1.
* gnu/packages/databases.scm (mariadb)[inputs]: Likewise.
* gnu/packages/node.scm (node)[native-inputs, inputs]: Likewise.
(node-lts)[native-inputs]: Likewise.
2022-08-30 18:42:26 +02:00
Marius Bakke
1fd262e8d3
Merge branch 'master' into staging 2022-08-27 00:17:57 +02:00
Marius Bakke
40c28fa322
gnu: python-cryptography: Update to 37.0.4.
* gnu/packages/python-crypto.scm (python-cryptography-vectors-next): Update to
37.0.4.
(python-cryptography-next): Likewise.
[arguments]: Add phase to adjust pyo3 requirement.  Don't adjust ouroboros
version.
[inputs]: Change from RUST-OUROBOROS-0.14 and RUST-OUROBOROS-MACRO-0.14 to
RUST-OUROBOROS-0.15 and RUST-OUROBOROS-MACRO-0.15.
[native-inputs]: Add PYTHON-PYTEST-BENCHMARK.
2022-08-27 00:09:03 +02:00
Marius Bakke
d23a04e52e
gnu: python-pyu2f: Remove unused inputs.
* gnu/packages/python-crypto.scm (python-pyu2f)[native-inputs]: Remove.
2022-08-16 00:43:45 +02:00
Marius Bakke
4442a5db77
Merge branch 'master' into staging 2022-07-13 23:34:58 +02:00
Antero Mejr
53be886d18
gnu: Add python-starkbank-ecdsa.
* gnu/packages/python-crypto.scm (python-starkbank-ecdsa): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-26 23:19:14 +02:00
Marius Bakke
9acd1a150f
gnu: python-certifi: Update to 2022.6.15.
* gnu/packages/python-crypto.scm (python-certifi): Update to 2022.6.15.
2022-06-23 19:55:42 +02:00
Marius Bakke
73e0063888
gnu: python-josepy: Update to 1.13.0.
* gnu/packages/python-crypto.scm (python-josepy): Update to 1.13.0.
[propagated-inputs]: Remove PYTHON-SIX.
2022-06-14 23:33:53 +02:00
Efraim Flashner
64c043e63a
Merge remote-tracking branch 'origin/master' into staging 2022-06-01 12:42:04 +03:00
Efraim Flashner
b1f763de54
gnu: python-pyopenssl: Downgrade to 21.0.0.
This is a follow-up to 048e05b7ef.

* gnu/packages/python-crypto.scm (python-pyopenssl): Downgrade to 21.0.0.
[source]: Add patch used by python2-pyopenssl.
[properties]: Remove field.
(python2-pyopenssl): Inherit from python-pyopenssl regularly.
2022-05-31 19:35:13 +03:00
Efraim Flashner
d500a58b42
gnu: python2-cryptography: Update to 3.3.2.
* gnu/packages/python-crypto.scm (python2-cryptography-vectors,
python2-cryptography): Update to 3.3.2.
2022-05-30 18:15:26 +03:00
Efraim Flashner
048e05b7ef
gnu: python-cryptography: Downgrade to 3.4.8.
Skip dealing with the rust version for now.

* gnu/packages/python-crypto.scm (python-cryptography): Rename to
python-cryptography-next. Replace with python-cryptography@3.4.8.
(python-cryptography-vectors): Rename to
python-cryptography-vectors-next. Replace with
python-cryptography-vectors@3.4.8.
2022-05-30 17:56:05 +03:00
Maxim Cournoyer
dcf62928b7
gnu: Remove python2-asn1crypto.
* gnu/packages/python-crypto.scm (python2-asn1crypto): Delete variable.
2022-05-31 14:53:57 -04:00
Maxim Cournoyer
6efcb2463f
gnu: Remove python2-cryptography-vectors.
* gnu/packages/python-crypto.scm (python2-cryptography-vectors): Delete variable.
2022-05-31 14:53:57 -04:00