home  bbs  files  messages ]

      ZZLI4416             linux.debian.bugs.dist             15094 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 15035 of 15094 on ZZLI4416, Wednesday 11-04-25, 4:20  
  From: ANDREY RAKHMATULLIN  
  To: ALL  
  Subj: Bug#1119687: python-pgpy: diff for NMU v  
 15: 
 protocol="application/pgp- 
 From: wrar@debian.org 
  
 --KwzT6r4NfGEY+dFK 
 Content-Type: text/plain; charset=utf-8; format=flowed 
 Content-Disposition: inline 
 Content-Transfer-Encoding: quoted-printable 
  
 Control: tags 1119687 + patch 
 Control: tags 1119687 + pending 
  
 Dear maintainer, 
  
 I've prepared an NMU for python-pgpy (versioned as 0.6.0-1.5) and 
 uploaded it to DELAYED/5. Please feel free to tell me if I 
 should cancel it. 
  
 Regards. 
  
  
 -- 
 WBR, wRAR 
  
 --KwzT6r4NfGEY+dFK 
 Content-Type: text/x-diff; charset=utf-8 
 Content-Disposition: attachment; filename="python-pgpy-0.6.0-1.5-nmu.diff" 
 Content-Transfer-Encoding: quoted-printable 
  
 diffstat for python-pgpy-0.6.0 python-pgpy-0.6.0 
  
  changelog                 |    7 +++++++ 
  patches/group_order.patch |   46 +++++++++++++++++ 
 +++++++++++++++++++++++++++++ 
  patches/series            |    1 + 
  3 files changed, 54 insertions(+) 
  
 diff -Nru python-pgpy-0.6.0/debian/changelog python-pgpy-0.6. 
 0/debian/changelog 
 --- python-pgpy-0.6.0/debian/changelog 2024-12-07 15:21:07.000000000 +0500 
 +++ python-pgpy-0.6.0/debian/changelog 2025-11-04 20:12:13.000000000 +0500 
 @@ -1,3 +1,10 @@ 
 +python-pgpy (0.6.0-1.5) unstable; urgency=medium 
 + 
 +  * Non-maintainer upload. 
 +  * Fix compatibility with python3-cryptography >= 45 (Closes: #1119687). 
 + 
 + -- Andrey Rakhmatullin   Tue, 04 Nov 2025 20:12:13 +0500 
 + 
  python-pgpy (0.6.0-1.4) unstable; urgency=medium 
  
    * Non-maintainer upload. 
 diff -Nru python-pgpy-0.6.0/debian/patches/group_order.patch python-pgpy-0. 
 6.0/debian/patches/group_order.patch 
 --- python-pgpy-0.6.0/debian/patches/group_order.patch 1970-01-01 05:00:00. 
 000000000 +0500 
 +++ python-pgpy-0.6.0/debian/patches/group_order.patch 2025-11-04 20:09:20. 
 000000000 +0500 
 @@ -0,0 +1,46 @@ 
 +From 5cdda87f74bcbb1dd7d29bb49b6a0ee67e41a7ce Mon Sep 17 00:00:00 2001 
 +From: OPNA2608  
 +Date: Thu, 10 Jul 2025 17:51:02 +0200 
 +Subject: [PATCH] pgpy/_curves.py: Fix compat with current cryptography 
 + 
 +Curves must now specify their group_order. 
 +--- 
 + pgpy/_curves.py | 5 +++++ 
 + 1 file changed, 5 insertions(+) 
 + 
 +diff --git a/pgpy/_curves.py b/pgpy/_curves.py 
 +index 14f25284..91e7dbb0 100644 
 +--- a/pgpy/_curves.py 
 ++++ b/pgpy/_curves.py 
 +@@ -75,26 +75,31 @@ class Ed25519(object): 
 +     class BrainpoolP256R1(ec.EllipticCurve): 
 +         name = 'brainpoolP256r1' 
 +         key_size = 256 
 ++        group_order = 0xa9fb57dba1eea9bc3e660a909 
 d838d718c397aa3b561a6f7901e0e82974856a7 
 + 
 + 
 +     class BrainpoolP384R1(ec.EllipticCurve):  # noqa: E303 
 +         name = 'brainpoolP384r1' 
 +         key_size = 384 
 ++        group_order = 0x8cb91e82a3386d280f5d6f7e5 
 0e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046565 
 + 
 + 
 +     class BrainpoolP512R1(ec.EllipticCurve):  # noqa: E303 
 +         name = 'brainpoolP512r1' 
 +         key_size = 512 
 ++        group_order = 0xaadd9db8dbe9c48b3fd4e6ae3 
 3c9fc07cb308db3b3c9d20ed6639cca70330870553e5c414ca9 
 2619418661197fac10471db1d381085ddaddb58796829ca90069 
 + 
 + 
 +     class X25519(ec.EllipticCurve):  # noqa: E303 
 +         name = 'X25519' 
 +         key_size = 256 
 ++        group_order = 0x1000000000000000000000000 
 000000014def9dea2f79cd65812631a5cf5d3ed 
 + 
 + 
 +     class Ed25519(ec.EllipticCurve):  # noqa: E303 
 +         name = 'ed25519' 
 +         key_size = 256 
 ++        group_order = 0x1000000000000000000000000 
 000000014def9dea2f79cd65812631a5cf5d3ed 
 + 
 + 
 + # add these curves to the _CURVE_TYPES list 
 diff -Nru python-pgpy-0.6.0/debian/patches/series python-pgpy-0.6. 
 0/debian/patches/series 
 --- python-pgpy-0.6.0/debian/patches/series 2024-12-07 15:21:07.000000000 
 +0500 
 +++ python-pgpy-0.6.0/debian/patches/series 2025-11-04 20:10:11.000000000 
 +0500 
 @@ -3,3 +3,4 @@ 
  tests-key-size.patch 
  drop-use-of-imghdr.patch 
  do-not-fail-on-GPGMEError-on-verify.patch 
 +group_order.patch 
  
 --KwzT6r4NfGEY+dFK-- 
  
 -----BEGIN PGP SIGNATURE----- 
  
 iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmkKGGMtFIAAAAAAFQAP 
 cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 
 +vYP/R9RqrYd5sGOuex/MOc7LKnJuBIUp5I2RNu1MqTVNoHxeX8wSA9Lnz2u565v 
 HTyTKIjvCTHugi8ChE1EZEHxX2IA4Z3o4Vev9rW0xNOB1aMDPzVOVBYpQVqwvSsR 
 yv24FL2koyAUxdCu/x4YsHAIF/urNCuzMPXsABEkFSdL0E4cVsY4LnqCW+AH7kfB 
 Nxfl0W/p0ASGfg4xvkc3vTRD/ZnCLVAo0Kz1NTEBaq0O1ZF/XvZt8ZyMUl1JgBbl 
 iGlnT32DfFAtc9PSIARNgzAAJwLGUXdrifkNW0bvUXyYcT4rru5sCwD8U4plc2Ya 
 N392exuXcrZcZ/ImztZkhYyel+kacy+TCmI/NMgrE06bubG0BjlX02g8EXaGnCjb 
 dm0DQIJmOPuFtPH63lFdf/HM63mof3E9o+2wVUWJh8jWZNNt9FoGdoU5RxRIoXml 
 T/JPtZehfa/mhVKd60U7ysGh5fdC/wn4JmHl1Rx8Ihf0h1Fin9inckOqBLH1R0OF 
 0geeJXAcWkhC2Xrj1qV48fZaIBYmrteO7AUFPZvXQVhkgiz34lzKeCnQnk1hgQ0/ 
 rBv3XJq2U/NXJDKr1wYgFxO/XudCEA58I/hjcqQwqOCn/3Q7QgB0barh1ODDR31t 
 ZkMsvrGu0TuTM/tRKkA6ZvA4jbnY/mFVqHy9XdDOXsbUv7wM 
 =H8h+ 
 -----END PGP SIGNATURE----- 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 
    

[ list messages | list forums | previous | next | reply ]

search for:

328,078 visits
(c) 1994,  bbs@darkrealms.ca