https://bugs.kde.org/show_bug.cgi?id=489768

Andrius Štikonas <andr...@stikonas.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|REPORTED                    |NEEDSINFO

--- Comment #2 from Andrius Štikonas <andr...@stikonas.eu> ---
So the passphrase is indeed necessary, cryptsetup resize needs passphrase even
when volume is unlocked.

The code that asks for passphrase is in
https://invent.kde.org/system/partitionmanager/-/blob/master/src/gui/resizedialog.cpp?ref_type=heads#L90
Which in summary does

                while  (!validPassphrase) {
                    validPassphrase =
luksFs->testPassphrase(partition().deviceNode(), passphrase);
                    if(!validPassphrase)
                        errorMessage = i18nc("Part of %2Enter passphrase for
%1:", "Invalid passphrase. ");
                }
                luksFs->setPassphrase(passphrase);

Could you please double check that you were indeed entering a valid passphrase.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to