[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Changed in: opencryptoki (Ubuntu Natty) Status: Fix Committed = Won't Fix ** Changed in: opencryptoki (Ubuntu Maverick) Status: Fix Committed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
This bug was fixed in the package opencryptoki - 2.2.8+dfsg- 4ubuntu0.10.04.1 --- opencryptoki (2.2.8+dfsg-4ubuntu0.10.04.1) lucid-proposed; urgency=low * Cherry-pick patch from Deibna to reset TPM datastructures on init and not just logout, fixes TPM token reinitialization failure on reload. Thanks to David Smith for the patch (LP: #645576) -- Stephane Graber stgra...@ubuntu.com Wed, 07 Dec 2011 11:25:22 -0500 ** Changed in: opencryptoki (Ubuntu Lucid) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Tags added: verification-done-lucid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
I've tested version 2.2.8+dfsg-4ubuntu0.10.04.1 on Lucid, and it fixes this problem for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Hello David, or anyone else affected, Accepted opencryptoki into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Branch linked: lp:ubuntu/natty-proposed/opencryptoki ** Branch linked: lp:ubuntu/maverick-proposed/opencryptoki ** Branch linked: lp:ubuntu/lucid-proposed/opencryptoki -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Also affects: opencryptoki (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: opencryptoki (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: opencryptoki (Ubuntu Natty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Pushed the cherry-picked fix from the Debian package to lucid, maverick and natty (as they all had the same version of opencryptoki). The Ubuntu SRU team will be in touch soon. ** Changed in: opencryptoki (Ubuntu Lucid) Status: New = Fix Committed ** Changed in: opencryptoki (Ubuntu Maverick) Status: New = Fix Committed ** Changed in: opencryptoki (Ubuntu Natty) Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Changed in: opencryptoki (Debian) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Fixed in Debian too. Thank you, David! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Branch linked: lp:debian/opencryptoki -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
This bug was fixed in the package opencryptoki - 2.3.1+dfsg-1ubuntu1 --- opencryptoki (2.3.1+dfsg-1ubuntu1) oneiric; urgency=low * Fix LP: #645576 - TPM token fails to reinitialize properly on reload. Add patch to reset TPM datastructures on init, and not just logout - add debian/patches/08-reset-tpm-structures.patch - update debian/patches/series -- David Smith d...@google.com Mon, 11 Jul 2011 18:11:12 +0100 ** Changed in: opencryptoki (Ubuntu) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Branch linked: lp:ubuntu/opencryptoki -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload To manage notifications about this bug go to: https://bugs.launchpad.net/opencryptoki/+bug/645576/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Subscribing ubuntu-sponsors, as there's a patch attached. Could this be considered for oneiric? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/645576 Title: TPM token fails to reinitialize properly on reload -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Bug also raised in Debian upstream, http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=603104. Will contact DD to merge updated patch there as well. ** Bug watch added: Debian Bug tracker #603104 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603104 -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Updating patch to same version as sourceforge. ** Patch added: 05-reset-tpm-structures.patch https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/645576/+attachment/1730375/+files/05-reset-tpm-structures.patch ** Patch removed: reset TPM structures on initialization https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/645576/+attachment/1624474/+files/05-reset-tpm-structures-on-init.patch ** Patch removed: opencryptoki_2.2.8+dfsg-4~dds1.debdiff https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/645576/+attachment/1624495/+files/opencryptoki_2.2.8%2Bdfsg-4%7Edds1.debdiff -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Also affects: opencryptoki (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603104 Importance: Unknown Status: Unknown -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Changed in: opencryptoki (Debian) Status: Unknown = New -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Also affects: opencryptoki via http://sourceforge.net/support/tracker.php?aid=3073688 Importance: Unknown Status: Unknown -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Tags added: patch -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
I have updated the patch upstream and am waiting on review. -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
How to reproduce, given a wpasupplicant configuration that uses PKCS#11 to use the TPM for private key: - Connect to the network once, ensure a normal connection is possible. - Kill the opencryptoki pkcsslotd process (send SIGKILL; it ignores SIGTERM while in use). - Start a new opencryptoki pkcsslotd process. - Attempt to reconnect to the same network. Expected behavior: - wpasupplicant should unload the PKCS#11 openssl engine library and reload it for the reconnection attempt. - The connection should succeed. Observed behavior: - wpasupplicant unloads the PKCS#11 openssl engine library and reloads it for the reconnection attempt. - Immediately after wpasupplicant loads the PKCS#11 openssl engine library, it fails to load the private key. The failure to load the private key was debugged back to failure in the opencryptoki TPM library to load the private root key. The private key fails to load because the session object opencryptoki uses to load the key into the TPM is stale, left over from the first session. -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Tracked upstream at http://sourceforge.net/tracker/?func=detailatid=710344aid=3073688group_id=128009 ** Bug watch added: SourceForge.net Tracker #3073688 http://sourceforge.net/support/tracker.php?aid=3073688 -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Patch added: reset TPM structures on initialization https://bugs.launchpad.net/bugs/645576/+attachment/1624474/+files/05-reset-tpm-structures-on-init.patch -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
Also attaching debdiff from fixed package. ** Patch added: opencryptoki_2.2.8+dfsg-4~dds1.debdiff https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/645576/+attachment/1624495/+files/opencryptoki_2.2.8%2Bdfsg-4%7Edds1.debdiff -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 645576] Re: TPM token fails to reinitialize properly on reload
** Tags added: glucid -- TPM token fails to reinitialize properly on reload https://bugs.launchpad.net/bugs/645576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs