Your message dated Sat, 05 Jul 2014 21:37:50 +0000
with message-id <[email protected]>
and subject line Bug#746663: fixed in opensc 0.14.0-1
has caused the Debian Bug report #746663,
regarding opensc: SmartCard-HSM card does not list RSA 2048 public keys
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
746663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746663
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opensc
Version: 0.13.0-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu utopic ubuntu-patch
*** /tmp/tmpsB0qMw/bug_body
OpenSC 0.13.0 does not list RSA public keys which are of 2048 bits in size on
a SmartCard-HSM smart card.
Although the keys are listed after on-card key generation, only the private
key is listed later. This issue does not appear for keys of 1024 bits in size
on the same card.
See Ubuntu bug for steps to reproduce.
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/0003-fix-sc-hsm-rsa2048.patch:
Add upstream fix to show generated RSA public keys of 2048 bits.
Cherry-picking commit:
- 99af6cd sc-hsm: Fixed a bug that prevents a newly generated 2048 [...]
(LP: #1311921)
Thanks for considering the patch.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty-proposed'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru opensc-0.13.0/debian/changelog opensc-0.13.0/debian/changelog
diff -Nru opensc-0.13.0/debian/patches/0003-fix-sc-hsm-rsa2048.patch opensc-0.13.0/debian/patches/0003-fix-sc-hsm-rsa2048.patch
--- opensc-0.13.0/debian/patches/0003-fix-sc-hsm-rsa2048.patch 1969-12-31 19:00:00.000000000 -0500
+++ opensc-0.13.0/debian/patches/0003-fix-sc-hsm-rsa2048.patch 2014-05-02 08:37:41.000000000 -0400
@@ -0,0 +1,17 @@
+Description: Fix to show generated RSA2048 pubkeys in PKCS#11 interface.
+ Fixed a bug that prevents a newly generated 2048 key to show up at the
+ PKCS#11 interface
+Author: Andreas Schwier <[email protected]>
+Origin: upstream https://github.com/OpenSC/OpenSC/commit/99af6cd8ee78776f50bc016fc230541072c60afb
+
+--- opensc-0.13.0.orig/src/libopensc/pkcs15-sc-hsm.c
++++ opensc-0.13.0/src/libopensc/pkcs15-sc-hsm.c
+@@ -268,7 +268,7 @@ static int sc_pkcs15emu_sc_hsm_add_pubke
+ sc_pkcs15_pubkey_info_t pubkey_info;
+ sc_pkcs15_object_t pubkey_obj;
+ struct sc_pkcs15_pubkey pubkey;
+- u8 efbin[512];
++ u8 efbin[1024];
+ sc_cvc_t cvc;
+ u8 *cvcpo;
+ size_t cvclen;
diff -Nru opensc-0.13.0/debian/patches/series opensc-0.13.0/debian/patches/series
--- opensc-0.13.0/debian/patches/series 2014-03-12 10:51:09.000000000 -0400
+++ opensc-0.13.0/debian/patches/series 2014-05-02 08:37:41.000000000 -0400
@@ -1,2 +1,3 @@
0001-pkcs15-regression-in-e35febe-compute-cert-length.patch
0002-fix-epass2003-support-from-upstream.patch
+0003-fix-sc-hsm-rsa2048.patch
--- End Message ---
--- Begin Message ---
Source: opensc
Source-Version: 0.14.0-1
We believe that the bug you reported is fixed in the latest version of
opensc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Eric Dorland <[email protected]> (supplier of updated opensc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 05 Jul 2014 15:34:04 -0400
Source: opensc
Binary: opensc opensc-pkcs11
Architecture: source amd64
Version: 0.14.0-1
Distribution: unstable
Urgency: medium
Maintainer: Eric Dorland <[email protected]>
Changed-By: Eric Dorland <[email protected]>
Description:
opensc - Smart card utilities with support for PKCS#15 compatible cards
opensc-pkcs11 - Smart card utilities with support for PKCS#15 compatible cards
Closes: 731235 746663 746694
Changes:
opensc (0.14.0-1) unstable; urgency=medium
.
* New upstream release. (Closes: #746694, #731235, #746663)
* debian/watch: Update to new GitHub location.
* debian/patches/0001-pkcs15_compute_cert_length.diff,
debian/patches/0002-fix-for-aventra-myeid.diff: Drop upstreamed
patches.
* debian/opensc.install: Install new dnie-tool.
* debian/control: Fix Vcs-Git path.
* debian/control: Use new GitHub homepage.
Checksums-Sha1:
4c0ede5ca5176c1868113e4eaeeca929085121d2 2023 opensc_0.14.0-1.dsc
06513c27c1812dd0afccd0db6421f88305bb718f 1172904 opensc_0.14.0.orig.tar.gz
99030ca5056f6a211b8ad4a773feca543e1d13ad 7824 opensc_0.14.0-1.debian.tar.xz
2b4e52793df9a63a5d763c510d3ec4b3feee4822 218840 opensc_0.14.0-1_amd64.deb
0fbc01598de0cd94fe33e9b5c77289665f92aab0 684874
opensc-pkcs11_0.14.0-1_amd64.deb
Checksums-Sha256:
5ee89b444ee8439f6ebea5d8376389facf4fe9d525fd2ac1bdd1a5292fa6197d 2023
opensc_0.14.0-1.dsc
ffe8bcc704f2ab9a05c6781bc815f00eaf75cba0a1bd21e3142b9194a7bed5c9 1172904
opensc_0.14.0.orig.tar.gz
10a6f59fefbda86d3e61bfe4dac286d5e9c842ab33c1ed9ca5d69faa82f467a1 7824
opensc_0.14.0-1.debian.tar.xz
cc6ce8c5e00f615b628fcc92088ab55dc68c104dc7d7637a9fe407919abbfbdc 218840
opensc_0.14.0-1_amd64.deb
11b315b152ba49455286bc9e5c9a396b3b66ca5e08d34fffca511c912306050e 684874
opensc-pkcs11_0.14.0-1_amd64.deb
Files:
4ba579ecc882c106799e7c651f2d51cf 218840 utils extra opensc_0.14.0-1_amd64.deb
555e3733647368ee921b5f5928b3da26 684874 utils extra
opensc-pkcs11_0.14.0-1_amd64.deb
061ef09fe285a70c7d78886b05644b9e 2023 utils extra opensc_0.14.0-1.dsc
1ee31dc2e89860458fd984e0cac9795e 1172904 utils extra opensc_0.14.0.orig.tar.gz
84da23b176f0b40e5aaf54b90719d897 7824 utils extra opensc_0.14.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTuGy0AAoJEBiP/EqTqnFyZR8P+wZeg4lOBpydOsTxCANQqqSC
4xS4NFsUx4zS4rilRyFeKi9UuoyctQ1UAUYfZ3UmDELsgJRpOCiwwyqpqdF5BbkT
eTCfzIIHonDbTdsT4cz4zhrV/m42InlhNlbuqemI0yYJUbbotEhW7Yh6TTqPDVNB
0IjPdEa3ZpG2jZ7wF+41gXhr2gsNE+0D75ZYggqPLUxt4aNwTUhP1IrvHLdy8A3R
Hwka/47znn1VCJCwWv/TTIqr2BgFXnHkt04/5htGBXpZ559Non7T+ePKocglY0Ou
uvz+hJYZU03fVM6n6TGLpBGA/NgfXAFw8u+fUL55awoOI11HSmrIlNdOZZ495pRY
gkd+gO4rMhwM2+rHR9EdTWAZauYcCUttZwOtnysvnBqbMLodfXhMvxAKujTFIl9m
Hs0seBO7w/34Giv0xDmV8BCvFl5vczn73OYMfdv07gImVmOurr24F7Ty+s9Re6K/
2tnvIyqR7TE1adkUNJ9vW4zB02KC7xls1iPlvJtLL2OQ9aWShGIjeAS1cM/XUHnY
May03Xo6KCKLjWZMVTpzdHcE2/QaGlUVSvP1sTxuwTfXWDjOVnFYioAThCTadQSr
ligem/81hHiZUTWXtopkgr4TpbPZKBTXqEozz3igdbx68Q2p8m7GXYI1jIqwkI1z
2L4criz1hqVWd75otqfR
=Gy9L
-----END PGP SIGNATURE-----
--- End Message ---