Bug 500810

Summary: ecryptfs-insert-wrapped-passphrase-into-keyring fails to add passphrase to keyring if the passphrase is in the keyring already
Product: Red Hat Enterprise Linux 5 Reporter: Michal Nowak <mnowak>
Component: ecryptfs-utilsAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: low Docs Contact:
Priority: low    
Version: 5.4CC: ohudlick, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 09:57:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sent upstream none

Description Michal Nowak 2009-05-14 10:23:50 UTC
Description of problem:

[root@hp-ml370g4-01 ~]# printf "%s\n%s" "towrap" "pass" | ecryptfs-wrap-passphrase passfile -


[root@hp-ml370g4-01 ~]# printf "%s" "pass" | ecryptfs-insert-wrapped-passphrase-into-keyring passfile -

Inserted auth tok with sig [decea574f22a106c] into the user session keyring
[root@hp-ml370g4-01 ~]# printf "%s" "pass" | ecryptfs-insert-wrapped-passphrase-into-keyring passfile -

Error: Unwrapping passphrase and inserting into the user session keyring failed [1]
Info: Check the system log for more information from libecryptfs

LOG:

ecryptfsMay 14 06:17:28 hp-ml370g4-01 ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to add passphrase key to user session keyring; rc = [1] 

Version-Release number of selected component (if applicable):

ecryptfs-utils-75-1.el5

How reproducible:

always

Expected results:

ecryptfs-insert-wrapped-passphrase-into-keyring is silently ignoring attempt to add passphrase to keyring which exists in keyring already.

Additional info:

Fixed in upstream.

Comment 1 Michal Hlavinka 2009-05-18 08:43:51 UTC
Created attachment 344396 [details]
sent upstream

Comment 7 errata-xmlrpc 2009-09-02 09:57:33 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1307.html