Windows application developer edition v0.5.0 🚀

Dear @scadra
I don’t know if that’s a bug or just was not implemented yet.
When I keep desktop app open for a long time - after some time it pretends to work normally :

  • I can browse passwords
  • I can copy username
    But when it comes to copy password - it says “Auth Failed” or something like this. No prompt to authenticate again, like in WEB. So i need manually to Logoff and Logoin again

Hey xaaru,

Yeah it is not implemented yet, it is something that we need to take care and we know to fix

2 Likes

Hello,

I downloaded the application from Play store. I access my passbolt server via chrome or edge. I edited the php file and activated the dexstop feature. I exported the account kit.

However, after importing from the desktop application and entering my password, I receive the following warning. I cleared my credentials and tried again, but the result did not change.

Something went wrong!
The operation failed with the following error:
Failed to fetch

Hey Mustafa,

I need more informations regarding your configuration :

  • Which browser extension version are you using ?
  • Which API version ?
  • Are you using the desktop application into a virtual machine ?
  • Do you run the latest version (0.5.1) from the windows store ?
  • Are you using an intranet ?

Hello,
I answered the questions;

Which browser extension version are you using ?
-I tested in both browsers
Google Chrome / Version 4.4.2 - Microsoft Edge / Version 119.0.2151.93 (64 bit)

Which API version ?

  • I couldn’t find where to check my API version :confused:

Are you using the desktop application into a virtual machine ?
-No, I use it on my Windows 10 computer

Do you run the latest version (0.5.1) from the windows store ?
-Yes, version 0.5.1.0

Are you using an intranet ?
-I’m accessing my passbolt server via SSL VPN.
I will make a site to site connection in the coming days.

Hello,
I have a question of how to install the Desktop app on a Windows Server?
I have compiled the app, installed it to the server via sideloading.
When logged in to the Server with the same user name used to install the App then the Passbolt desktop shows by running the following command in command line:
shell:AppsFolder\Passbolt.Passbolt_xxxxxxxxxxx!App

When I do the same with a different user and trying to call
shell:AppsFolder\Passbolt.Passbolt_xxxxxxxxxxx!App
then I get the following error message:
“shell:AppsFolder\Passbolt.Passbolt_xxxxxxxxxxx!App Class not registered”

Any idea, how I can get this solved for any other user being logged in?

The goal is to have the desktop app being available through Terminal Server / Citrix.

Thank you for your question, @ku1886.

Regarding Windows Server, we need to conduct further investigation. Initially, we developed the application for use on personal devices.

As I understand it, you’re looking to access the desktop application as a user different from the one who installed it. The application is designed to be user-specific. However, a potential solution might involve compiling it using Add-ProvisionedAppxPackage during the installation on the server, employing a “sideloading” package.

Please let me know if this approach works for you.

Thank you for your reply, @scadra .

I have now tested it with the following command:

$localFolderPath = “Y:\PB50*”
$localPackage = “Y:\PB50\passbolt-windows_0.5.0.0_x86_x64_arm.msixbundle”

DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:$localPackage /SkipLicense /DependencyPackagePath:“Y:\PB50\Dependencies\x86\Microsoft.NET.Native.Framework.2.2.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x86\Microsoft.NET.Native.Runtime.2.2.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x86\Microsoft.UI.Xaml.2.8.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x86\Microsoft.VCLibs.x86.14.00.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x86\Microsoft.VCLibs.x86.14.00.Desktop.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x64\Microsoft.NET.Native.Framework.2.2.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x64\Microsoft.NET.Native.Runtime.2.2.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x64\Microsoft.UI.Xaml.2.8.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x64\Microsoft.VCLibs.x64.14.00.appx” /DependencyPackagePath:“Y:\PB50\Dependencies\x64\Microsoft.VCLibs.x64.14.00.Desktop.appx”

It does install everything without an error. I can also launch the app with the user who installed it but cannot run the app with another user name.

I understand that you involve the MS Store which is easy to use for everyone but I thought I also give it a try with more than one user on a server system and see if that works as well.

Hey @ku1886,

So Add-ProvisionedAppxPackage did not solve your issue. We have created a ticket PB-29261 to investigate :

  • The risk analysis
  • Feasibility with current UWP technology

I let you inform whenever we have a response regarding your use case.

Hi @scadra,

Great! Thank you, that’s very kind of you!!

Hi Patrick

Could you please help me out ,I have updated the php file but still its working

Hello! Could you give us more information about what are you experiencing to help you?

1 Like

Hi @nabeel !

If it’s not working, then it should mean that the browser extension doesn’t detect the change in the configuration or is not up to date (normally it’s automatically updated so I doubt).

To check what receives your extension as configuration you can try to reach the settings URL:

For instance, if your server is reachable at the following domain passbolt.local.server your can try https://passbolt.local.server/settings.json in your browser after you have logged in (maybe try to sign out first and sign in again, it could be cached as well).

you should have a result like the following:

{
    "header": {
       [...]
    },
    "body": {
        "app": {
           [...]
        },
        "passbolt": {
            "plugins": {
                "desktop": {
                    "enabled": true
                },
            }
        }
    }
}

I omitted a lot of element to show only what is interesting. If the configuration is correct you should have enabled set totrue (trueis without double quotes or single quotes around). Also, the structure of the data should be as in the example where there is body > passbolt > plugins> desktop > enabled.

1 Like

I made changes in the php file ,anything needs to added here could you please go through it

From what I see enabled misses the d in the end.

Hi @Steph ,

I made the adjustments but Passbolt-App keeps crashing after I uploaded the Account-Kit.

Is this a known issue under Windows 10?

Hi @Zenux !

If I understand correctly, you can access the desktop app menu and you downloaded the account kit from their to use it on your Passbolt Windows app.

Do you know which version do you use for the Windows app (on the Windows app screen in the bottom right, there’s a heart icon that you can hover with the mouse, the version will appear)? The latest version is 0.5.1 normally, if you don’t have this version then I would suggest to upgrade it first.

Also, which version of the browser extension do you have (it’s the same procedure)?

Hi @Steph ,

I can start the Passbolt-App (first Step) with no issue. As soon as I uploaded the Account-Kit and put in the passphrase, Passbolt keeps crashing with ID-1000 KERNELBASE.DLL-Modul

If I delete ‘account-metadata’ and ‘account-secret’ entries. The App works again and I can upload the “Account-Kit”. So its seems like it has an issue with the “Credential Manager”?

The Passbolt-App has 0.5.1

The Browser extension works fine. I use the Edge and FireFox extension. I also have tried both with different users. Still doesn’t work over the app.

Okay, this one is pretty much unexpected. I took a quick look on the Internet as the Passbolt app neither modified this dll file nor bring its own or something like that.

Disclaimer: I would like to help you but, to be honest it’s a bit out of my knowledge.

I took a look on the Internet with the error you mentioned. It seems to be related to your Windows installation, here’s the link I found Microsoft Forum

In it the easiest solutions to try are:

  1. making sure your Windows is up to date and try again
  2. if it doesn’t work you can try to create a new user on your Windows machine and give a try with that new user (doesn’t sound ideal like that, but at least we will know a bit better)

Another solution mentioned in the page is to ask your registry service to rebuild your kernel.dll file (I didn’t know it was possible, but anyways, it sounds very risky to me, I would try that as a very last resort).

Hey @Zenux,

As mentioned by @Steph we found some explanation here too : Windows answer UWP kernel crash.

But we want to be sure to not facing this issue mentioned on this article : UWP App store crash. We will investigate if it is the case or not.

By the way can you provide us more information to be able to reproduce it :

  • Is it a virtual machine ?
  • Did you download the app from the windows store or built from the git ?
  • Are you running the app from visual studio ?
  • Which version of win10 are you running ?
  • Is it possible that something block the access from the credential locker ?

This will help us to find a solution to fix the issue

Thanks in advance

1 Like