pmt-ehd throws error 'crypt_format: Invalid argument'

Bug #1906118 reported by Andreas Mahling
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpam-mount (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

action: want to create an encrypted container with pmt-ehd

am@pecorino:~$ sudo pmt-ehd -f /home/am/test -x
Container size in megabytes: 100
Creating a new container at /home/am/test
Do you really want to overwrite /home/am/test? (y/n)
y
Truncating container
NOTE: Use the end-user passphrase here. DO NOT feed it a hash of a passphrase or anything otherwise fancy. pmt-ehd(8), as well as cryptsetup(8)'s luksFormat will, by default, do the master key generation and hashing themselves!
Password:
Reenter password:
crypt_format: Invalid argument

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libpam-mount 2.16-10
ProcVersionSignature: Ubuntu 5.4.0-54.60-generic 5.4.65
Uname: Linux 5.4.0-54-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.13
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 28 20:37:32 2020
InstallationDate: Installed on 2020-11-02 (25 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: libpam-mount
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andreas Mahling (andreas-mahling) wrote :
Revision history for this message
Paride Legovini (paride) wrote :

Hello Andreas and thanks for this bug report. I can reproduce the issue you describe on Focal and Hirsute. A very similar command is given as an example in pmt-ehd's manpage (pmt-ehd(8), not installed by libpam-mount-bin but available in the source package, see [1]).

I'm marking this bug as Triaged and subscribing the Ubuntu Server Team to it.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976154

Changed in libpam-mount (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libpam-mount - 2.17-2

---------------
libpam-mount (2.17-2) unstable; urgency=medium

  * Make d/not-installed arch independent
  * Document sshfs without fd0ssh.
    Thanks to Michel Le Bihan (Closes: #952989)

 -- Jochen Sprickerhof <email address hidden> Fri, 25 Dec 2020 16:54:23 +0100

Changed in libpam-mount (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.