Public bug reported:
https://access.redhat.com/documentation/en-
us/red_hat_enterprise_linux/6/html/storage_administration_guide/ch-
volumekey
Attempting to generate an escrow-packet as documented at the above link
fails with the following error:
```
sudo volume_key --save ./luks.img --output ./escrow-packet
volume_key: Error opening `./luks.img': Error getting information about volume
`./luks.img': Invalid argument
```
The exact same command works on Fedora Workstation 38.
To replicate the issue, do the following:
- On Ubuntu 22.04 (haven't tested other releases)
- Install `volume-key` package
- Generate a LUKS encrypted volume
```
# Pre-allocate a 1GB volume
sudo fallocate -l 1GB ./luks.img
sudo cryptsetup luksFormat ./luks.img
# Follow prompts to setup the volume with a passphrase
```
- Try to generate the escrow-packet
```
sudo volume_key --save ./luks.img --output ./escrow-packet
```
** Affects: volume-key (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to volume-key in Ubuntu.
https://bugs.launchpad.net/bugs/2029216
Title:
Generating an escrow-packet fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/volume-key/+bug/2029216/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs