[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-30 Thread tuxx
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #19 from tuxx  ---
(In reply to tuxx from comment #18)
> I've found the same bug on Garuda (Arch) with KDE Frameworks 6.1.0.
> 
> It happens with all LUKS Encrypted drives which are not mounted, regardless
> if it's external or internal.
> I'm running the OS on a m2 btrfs LUKS Encrypted drive, when I try to access
> my second m2 encrypted drive connected to the motherboard I get the same
> error. 
> 
> Unencrypted drives mounts OK.
> 
> Operating System: Garuda Linux 
> KDE Plasma Version: 6.0.3
> KDE Frameworks Version: 6.1.0
> Qt Version: 6.7.0
> Kernel Version: 6.8.5-zen1-1-zen (64-bit)
> Graphics Platform: X11

it fixes in Garuda with the last update, LUKS decrypts OK.

plasmashell 6.0.4
Qt: 5.15.13
KDE Frameworks: 5.115.0
kf5-config: 1.0

Kernel: 6.8.7-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A wm: kwin_x11 dm: SDDM
Distro: Garuda base: Arch Linux

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-29 Thread tuxx
https://bugs.kde.org/show_bug.cgi?id=485507

tuxx  changed:

   What|Removed |Added

 CC||dinucci.alejan...@gmail.com

--- Comment #18 from tuxx  ---
I've found the same bug on Garuda (Arch) with KDE Frameworks 6.1.0.

It happens with all LUKS Encrypted drives which are not mounted, regardless if
it's external or internal.
I'm running the OS on a m2 btrfs LUKS Encrypted drive, when I try to access my
second m2 encrypted drive connected to the motherboard I get the same error. 

Unencrypted drives mounts OK.

Operating System: Garuda Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.5-zen1-1-zen (64-bit)
Graphics Platform: X11

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-19 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=485507

Nicolas Fella  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
   |eworks/solid/-/commit/9ecaf |eworks/solid/-/commit/a3b18
   |388ccd41d2831ab3833c26627f7 |591ba144fae0cd0cfc087a45c64
   |2ab78f40|000d4e51

--- Comment #17 from Nicolas Fella  ---
Git commit a3b18591ba144fae0cd0cfc087a45c64000d4e51 by Nicolas Fella, on behalf
of Kai Uwe Broulik.
Committed on 19/04/2024 at 11:03.
Pushed by nicolasfella into branch 'Frameworks/6.1'.

udisks: Return empty string for "root" clearTextPath

There cannot be an empty object path on DBus, so "/" is used to denote
no clear text device. Return empty string explicitly here to avoid
littering even more places with empty || "/" checks.

M  +5-1src/solid/devices/backends/udisks2/udisksstorageaccess.cpp

https://invent.kde.org/frameworks/solid/-/commit/a3b18591ba144fae0cd0cfc087a45c64000d4e51

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=485507

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||Frameworks 6.2

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-17 Thread Marcel Hasler
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #16 from Marcel Hasler  ---
Thanks! Will there be a 6.1.1 release to fix this? I see that Arch already
provides a patched version, but many others will likely be affected by this
regression, as well.

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-17 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=485507

Kai Uwe Broulik  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/solid/-/commit/9ecaf
   ||388ccd41d2831ab3833c26627f7
   ||2ab78f40

--- Comment #15 from Kai Uwe Broulik  ---
Git commit 9ecaf388ccd41d2831ab3833c26627f72ab78f40 by Kai Uwe Broulik.
Committed on 17/04/2024 at 10:55.
Pushed by broulik into branch 'master'.

udisks: Return empty string for "root" clearTextPath

There cannot be an empty object path on DBus, so "/" is used to denote
no clear text device. Return empty string explicitly here to avoid
littering even more places with empty || "/" checks.

M  +5-1src/solid/devices/backends/udisks2/udisksstorageaccess.cpp

https://invent.kde.org/frameworks/solid/-/commit/9ecaf388ccd41d2831ab3833c26627f72ab78f40

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-17 Thread jmaspons
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #14 from jmaspons  ---
Also hit Neon User Edition

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-27-generic (64-bit)

Workaround to mount from the cli https://askubuntu.com/a/279218/281142

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread jmaspons
https://bugs.kde.org/show_bug.cgi?id=485507

jmaspons  changed:

   What|Removed |Added

 CC||joanmasp...@gmail.com

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #13 from hunterofgy...@gmail.com ---
was wrong, downgrading solid fixed it

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=485507

hunterofgy...@gmail.com changed:

   What|Removed |Added

 CC||hunterofgy...@gmail.com

--- Comment #12 from hunterofgy...@gmail.com ---
This is a polkit issue

I have the same problem

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=485507

Antonio Rojas  changed:

   What|Removed |Added

 CC||xdlolpite...@gmail.com

--- Comment #11 from Antonio Rojas  ---
*** Bug 485645 has been marked as a duplicate of this bug. ***

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread Robby Engelmann
https://bugs.kde.org/show_bug.cgi?id=485507

Robby Engelmann  changed:

   What|Removed |Added

 CC||robby.engelmann@r-engelmann
   ||.de

--- Comment #10 from Robby Engelmann  ---
and also in master from yesterday:
Operating System: openSUSE Tumbleweed 20240414
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro Gen8 (MK1)

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=485507

loud.gibberish...@passinbox.com changed:

   What|Removed |Added

 CC||loud.gibberish218@passinbox
   ||.com

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=485507

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=477915

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=485507

Nate Graham  changed:

   What|Removed |Added

 CC||edmund.laugasson@protonmail
   ||.ch

--- Comment #9 from Nate Graham  ---
*** Bug 485617 has been marked as a duplicate of this bug. ***

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=485507

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |HI
   Severity|normal  |grave
 CC||n...@kde.org

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-16 Thread Noah Li
https://bugs.kde.org/show_bug.cgi?id=485507

Noah Li  changed:

   What|Removed |Added

 CC||um...@tuta.io

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=485507

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #8 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/solid/-/merge_requests/163

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Marcel Hasler
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #7 from Marcel Hasler  ---
I've assigned the bug to the author of the commit (I hope that's okay to do).

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Marcel Hasler
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #6 from Marcel Hasler  ---
Looking at the code some more, it seems that many functions explicitly check
for both cases, e.g. in StorageAccess::filePath():

const QString path = clearTextPath();
if (path.isEmpty() || path == "/") {
QString();
}

Other functions, such as StorageAccess::setup() (which I think might be the
culprit here), don't:

if (m_device->isEncryptedContainer() && clearTextPath().isEmpty()) {
return requestPassphrase();
} else {
return mount();
}

Perhaps it would make sense to refactor this check into an own function (e.g.
StorageAccess::isUnlocked()).

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #5 from verifyrecove...@pm.me ---
Ahh good catch. Should be pretty simple to fix. How can we help the devs? I
don't see an option to raise a PR.

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Marcel Hasler
https://bugs.kde.org/show_bug.cgi?id=485507

Marcel Hasler  changed:

   What|Removed |Added

   Assignee|unassigned-b...@kde.org |k...@privat.broulik.de

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Marcel Hasler
https://bugs.kde.org/show_bug.cgi?id=485507

Marcel Hasler  changed:

   What|Removed |Added

Version|unspecified |6.1.0

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Marcel Hasler
https://bugs.kde.org/show_bug.cgi?id=485507

--- Comment #4 from Marcel Hasler  ---
Downgrading Solid back to 6.0.0 fixes the issue.

Looking at the change log, there's really only one commit
(https://invent.kde.org/frameworks/solid/-/commit/f000b6e99f741c66744a8995f6521e9158ebf289).
I think the problem here is that the property "CleartextDevice" returned from
the new code defaults to '/' if the device hasn't been unlocked yet, whereas
the old code returned an empty string, which clients apparently expect.

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Tonurics
https://bugs.kde.org/show_bug.cgi?id=485507

Tonurics  changed:

   What|Removed |Added

 CC||tonur...@gmail.com

--- Comment #3 from Tonurics  ---
Also writing in to confirm the issue.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.5-arch1-1 (64-bit)
Graphics Platform: X11

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-15 Thread Canoe
https://bugs.kde.org/show_bug.cgi?id=485507

Canoe  changed:

   What|Removed |Added

 CC||brokenca...@gmail.com
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #2 from Canoe  ---
Confirmed, luks mounting is broken, meaning I can no longer access any of my
backups, - or backup:

KDE Plasma Version 6.0.3
KDE Frameworks Version 6.1.0
Qt Version : 6.7.0
Kernel version : 6.8.5-arch1-1 (64bit)
Graphics Platform : Wayland

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

[frameworks-solid] [Bug 485507] Unspecified Error With LUKS Encrypted Removable Drives

2024-04-14 Thread Marcel Hasler
https://bugs.kde.org/show_bug.cgi?id=485507

Marcel Hasler  changed:

   What|Removed |Added

 CC||mahas...@gmail.com

--- Comment #1 from Marcel Hasler  ---
I can confirm this. It works fine on my desktop which still has Frameworks
6.0.0 but is broken on my laptop after upgrading to 6.1.0.

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