forked from pool/python-tpm2-pytss
Accepting request 1041864 from home:aplanas:branches:devel:languages:python
- Update to version 2.0.0: * CHANGELOG: update for 2.0 release * CHANGELOG: move breaking items to changed * Revert "ci: publish_pkg update to tss 4.0.0-rc0" * ci: publish_pkg update to tss 4.0.0-rc0 * ci: update publish script to py3.7 * README: Update mailing list * CHANGELOG: update for 2.0-rc0 * docs: add PyTCTI to docs * README: add newest libraries * FAPI: drop unused import Dict - Drop patch 0001-test_crypto-fix-test_ecc_bad_curves-assert.patch OBS-URL: https://build.opensuse.org/request/show/1041864 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tpm2-pytss?expand=0&rev=3
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
From b88dc903e7d304851ed651f3a9aea24656a5681c Mon Sep 17 00:00:00 2001
|
||||
From: Alberto Planas <aplanas@suse.com>
|
||||
Date: Mon, 11 Jul 2022 11:54:47 +0200
|
||||
Subject: [PATCH 1/1] test_crypto: fix test_ecc_bad_curves assert
|
||||
|
||||
---
|
||||
test/test_crypto.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/test_crypto.py b/test/test_crypto.py
|
||||
index 1120c7b..f65b465 100644
|
||||
--- a/test/test_crypto.py
|
||||
+++ b/test/test_crypto.py
|
||||
@@ -581,7 +581,7 @@ class CryptoTest(TSS2_EsapiTest):
|
||||
def test_ecc_bad_curves(self):
|
||||
with self.assertRaises(ValueError) as e:
|
||||
pub = TPMT_PUBLIC.from_pem(ecc_bad_curve)
|
||||
- self.assertEqual(str(e.exception), "unsupported curve: sect163r2")
|
||||
+ self.assertEqual(str(e.exception), "Unsupported key format")
|
||||
|
||||
pub = TPMT_PUBLIC.from_pem(ecc_public_key)
|
||||
pub.parameters.eccDetail.curveID = TPM2_ECC.NONE
|
||||
--
|
||||
2.36.1
|
||||
|
2
_service
2
_service
@@ -1,7 +1,7 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="filename">tpm2-pytss</param>
|
||||
<param name="revision">1.2.0</param>
|
||||
<param name="revision">2.0.0</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/tpm2-software/tpm2-pytss.git</param>
|
||||
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/tpm2-software/tpm2-pytss.git</param>
|
||||
<param name="changesrevision">73b44a6210a9c8862299bd4442a9f33321a608dd</param></service></servicedata>
|
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 08 10:33:50 UTC 2022 - aplanas@suse.com
|
||||
|
||||
- Update to version 2.0.0:
|
||||
* CHANGELOG: update for 2.0 release
|
||||
* CHANGELOG: move breaking items to changed
|
||||
* Revert "ci: publish_pkg update to tss 4.0.0-rc0"
|
||||
* ci: publish_pkg update to tss 4.0.0-rc0
|
||||
* ci: update publish script to py3.7
|
||||
* README: Update mailing list
|
||||
* CHANGELOG: update for 2.0-rc0
|
||||
* docs: add PyTCTI to docs
|
||||
* README: add newest libraries
|
||||
* FAPI: drop unused import Dict
|
||||
- Drop patch 0001-test_crypto-fix-test_ecc_bad_curves-assert.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 11 07:35:34 UTC 2022 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-tpm2-pytss
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
@@ -21,13 +21,12 @@
|
||||
%define srcname tpm2-pytss
|
||||
%bcond_with test
|
||||
Name: python-%{srcname}
|
||||
Version: 1.2.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Python bindings for TSS
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/tpm2-software/tpm2-pkcs11
|
||||
Source: %{srcname}-%{version}.tar.gz
|
||||
Patch0: 0001-test_crypto-fix-test_ecc_bad_curves-assert.patch
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module asn1crypto}
|
||||
BuildRequires: %{python_module cffi}
|
||||
@@ -35,6 +34,7 @@ BuildRequires: %{python_module cryptography}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pkgconfig}
|
||||
BuildRequires: %{python_module pycparser}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -76,7 +76,7 @@ files.
|
||||
# Provides a PKG-INFO with "version" for setuptools_scm
|
||||
cat <<EOF > PKG-INFO
|
||||
Metadata-Version: 1.1
|
||||
Version: %{version}
|
||||
Version: %{version}
|
||||
EOF
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22649ac0f02500498a76a364d94efef7834035f2d7536412d078baa131e9a87e
|
||||
size 183892
|
3
tpm2-pytss-2.0.0.tar.gz
Normal file
3
tpm2-pytss-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:340ff8c94a098ca4e04136332af8c81fc51829408b18defce7fa568846c0f1ee
|
||||
size 552588
|
Reference in New Issue
Block a user