Bug 503188 - Cannot press "Next" after entering vault name when gocryptfs is not installed
Summary: Cannot press "Next" after entering vault name when gocryptfs is not installed
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Vaults widget (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-04-22 18:46 UTC by Nik Nikovsky
Modified: 2025-04-24 09:10 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments
What happens when you try to make a Vault. (1.07 MB, video/webm)
2025-04-22 18:46 UTC, Nik Nikovsky
Details
attachment-283974-0.html (1.62 KB, text/html)
2025-04-22 19:58 UTC, Nik Nikovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nik Nikovsky 2025-04-22 18:46:18 UTC
Created attachment 180534 [details]
What happens when you try to make a Vault.

SUMMARY
Can't make a vault

STEPS TO REPRODUCE
1. Install KDE Plasma
2. Follow the steps to make a Plasma Vault specified by the Welcome Center
3. Input a name

OBSERVED RESULT
The "Next" button does not activate

EXPECTED RESULT
Activation of the "Next" button, or an error if the name doesn't meet a requirement.

SOFTWARE/OS VERSIONS
ERROR:             VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.11.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700F
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3070


ADDITIONAL INFORMATION
Hardware, KDE info are all pasted straight from kinfo.
If something changes after a reboot, I'll include an updated version in the next comment.
Comment 1 Nik Nikovsky 2025-04-22 18:49:52 UTC
The info changed, but both errors still persist.
ERROR:             VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.11.0-24-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700F
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3070
Comment 2 TraceyC 2025-04-22 19:56:40 UTC
I can't reproduce this on git-master, Solus. Typing in a vault name activates the Next button as expected.
I *am* able to reproduce on Neon Unstable
This may be a packaging issue in Neon
Comment 3 Nik Nikovsky 2025-04-22 19:58:08 UTC
Created attachment 180535 [details]
attachment-283974-0.html

Could be a Neon Unstable problem, what package do I install?

On Tue, 22 Apr 2025, 21:56 TraceyC, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=503188
>
> TraceyC <kdedev@tlcnet.info> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |kdedev@tlcnet.info
>              Status|REPORTED                    |CONFIRMED
>      Ever confirmed|0                           |1
>
> --- Comment #2 from TraceyC <kdedev@tlcnet.info> ---
> I can't reproduce this on git-master, Solus. Typing in a vault name
> activates
> the Next button as expected.
> I *am* able to reproduce on Neon Unstable
> This may be a packaging issue in Neon
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
Comment 4 Nik Nikovsky 2025-04-22 22:47:27 UTC
I forgot not to reply through Gmail again
Comment 5 Nate Graham 2025-04-23 11:34:08 UTC
The only backend supported now for new vaults is Gocryptfs; I suspect Neon doesn't include that. It needs to.
Comment 6 Nik Nikovsky 2025-04-23 17:15:51 UTC
(In reply to Nate Graham from comment #5)
> The only backend supported now for new vaults is Gocryptfs; I suspect Neon
> doesn't include that. It needs to.

Maybe the problem could be the not installed vault snap?
Comment 7 Nik Nikovsky 2025-04-23 17:16:17 UTC
Also, I'm changing the packages to unstable Edition since that's what this is on.
Comment 8 Nate Graham 2025-04-23 20:27:04 UTC
Does the bug go away if you manually install the "gocryptfs" package?
Comment 9 Nik Nikovsky 2025-04-23 20:40:51 UTC
(In reply to Nate Graham from comment #8)
> Does the bug go away if you manually install the "gocryptfs" package?

yup.
Comment 10 Nate Graham 2025-04-24 07:10:48 UTC
Then the proximate cause is Neon not shipping that package by default. The root cause may be Plasma Vaults not enforcing this in CMake; I'll investigate.
Comment 11 Nate Graham 2025-04-24 07:27:47 UTC
Yep, that's it. The project has no dependency on gocryptfs declared, which is my bad. I forgot to add this when I made gocryptfs the only supported backend.
Comment 12 Nik Nikovsky 2025-04-24 07:51:23 UTC
(In reply to Nate Graham from comment #11)
> Yep, that's it. The project has no dependency on gocryptfs declared, which
> is my bad. I forgot to add this when I made gocryptfs the only supported
> backend.

I see, what about the kinfo error?
I think I'll have to submit a bug for that if it's still there
Comment 13 Bug Janitor Service 2025-04-24 07:51:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-vault/-/merge_requests/65
Comment 14 Nate Graham 2025-04-24 07:53:41 UTC
(In reply to Nik Nikovsky from comment #12)
> I see, what about the kinfo error?
This is unrelated and needs its own bug report.
Comment 15 Nik Nikovsky 2025-04-24 08:31:15 UTC
(In reply to Nate Graham from comment #14)
> (In reply to Nik Nikovsky from comment #12)
> > I see, what about the kinfo error?
> This is unrelated and needs its own bug report.

I've created it here:
https://bugs.kde.org/show_bug.cgi?id=503267
Comment 16 Nate Graham 2025-04-24 09:10:56 UTC
Git commit 49463366e488642c7a2368f964605595de94cca5 by Nate Graham.
Committed on 24/04/2025 at 08:06.
Pushed by ngraham into branch 'master'.

Require gocryptfs at runtime

Now that we removed the multiple backend support and only support
gocryptfs, we need to declare it as a required runtime package, or else
there's a risk that distros won't include that package and then the
software will be broken.

Amends ba292cce35907707cab41e651fd86b847117ed73
FIXED-IN: 6.4.0

M  +10   -1    CMakeLists.txt
A  +14   -0    cmake/FindGocryptfs.cmake

https://invent.kde.org/plasma/plasma-vault/-/commit/49463366e488642c7a2368f964605595de94cca5