Bug 502150

Summary: [PATCH] libcryptsetup interface enhancements
Product: [Fedora] Fedora Reporter: Miloslav Trmač <mitr>
Component: cryptsetup-luksAssignee: Milan Broz <mbroz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: agk, dwysocha, lvm-team, mbroz, msivak, opensource, pjones, prockai, pvrabec, whulbert
Target Milestone: ---   
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-18 09:59:58 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
Add direct master key access to libcryptsetup. none

Description Miloslav Trmač 2009-05-22 09:20:39 UTC
Created attachment 345070 [details]
Add direct master key access to libcryptsetup.

The attached patch adds:

* crypt_luks_get_volume_info () and related functions, that allow
  reading volume metadata more cleanly than attempting to parse the
  output of crypt_luksDump ().
* Four functions that allow direct manipulation of the master key,
  necessary for automated master key backup.
* Minor Makefile changes to fix build when builddir != srcdir.

The patch is necessary for https://fedorahosted.org/volume_key/ .  I have sent it upstream, filing here as well so it doesn't get lost.

Comment 1 Milan Broz 2009-05-22 09:57:31 UTC
Is that patch accepted by upstream maintainer? (I mean ack for design, not commit in svn.)

Comment 2 Miloslav Trmač 2009-05-22 10:16:38 UTC
I haven't received any response so far.

Comment 3 Bug Zapper 2009-06-09 16:19:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Milan Broz 2009-09-18 09:59:58 UTC
The new libbcryptsetup library with master key acces interface is in rawhide already (cryptsetup-lib-1.1.*).

I do not plan this update for F11 because of library soname change.