Giter VIP home page Giter VIP logo

passbolt-windows's Introduction

passbolt-logo

The open source password manager for teams.

License

Passbolt on desktop, mobile, and cli

Introducing Passbolt

Passbolt is a security-first, open source password manager for teams. It helps organizations centralize, organize and share passwords and secrets securely.

What makes passbolt different?

  • Security: Passbolt security model features user-owned secret keys and end-to-end encryption. It is audited multiple times annually, and findings are made public.
  • Collaboration: Securely share and audit credentials, with powerful and dependable policies for power users.
  • Privacy: Passbolt is headquartered in the EU,:european_union: specifically in Luxembourg. Passbolt doesn't collect personal data or telemetry, and can be deployed in an air-gapped environment.

About the desktop app

Passbolt Desktop App is a UWP (Universal Windows Platform) application that provides a modern and flexible way to manage your passwords securely. With Passbolt Desktop App, you can store your passwords and other sensitive information in a centralized location, and you can access them from any Windows 10 device.

The app is built using the UWP platform and it leverages the power of Webview2 to provide a rich and engaging user interface. With Webview2, Passbolt Desktop App can display web-based content within the app, such as the Passbolt web interface, and it can interact with the content programmatically.

By using UWP and Webview2, Passbolt Desktop App provides a consistent and seamless user experience across all Windows 10 devices. The app can adapt to the device it's running on, providing a user interface that's optimized for the screen size and input method of the device. With Passbolt Desktop App, you can manage your passwords securely, and you can do it in a way that's flexible and convenient for you.

Get Started

Requirements

  • Visual Studio >= 2019 (download)
  • Visual Studio UWP workload
  • Edge (download)
  • Passbolt API >= v4.2.0

Clone the project

git clone [email protected]:passbolt/passbolt-windows

Configure the API

Enable the desktop application support in the API.

If you are running passbolt with docker, set to true the environment variable PASSBOLT_PLUGINS_DESKTOP_ENABLED

Otherwise, edit your /etc/passbolt/passbolt.php to add the following:

return [
  "passbolt" => [
    "plugins" => [
      "desktop" => [
         "enabled" => true
       ]
    ]
  ]
]

Start the application with Visual Studio

Start Visual studio and open the project folder. Click to the start button in the top menu, et voilà.

Trouble shooting

  • I have started the application, visual studio failed when calling API. In case you the API is using a self signed certificate, you need Windows to trust it. Checkout this documentation.

Development

Running tests

Running tests with Visual code

Passbolt Desktop App includes a suite of unit tests to ensure that the app functions correctly. To run the unit tests, follow these steps:

  1. Open the solution in Visual Studio.
  2. In the Solution Explorer, right-click on the PassboltDesktopApp.UnitTests project and select "Run Tests".
  3. The unit tests will run, and the results will be displayed in the Test Explorer.

Running tests with command lines

To run the Passbolt Desktop App unit tests using the command line, you can use the dotnet test command. Follow these steps to run the tests using the command line:

  1. Open a command prompt and navigate to the project directory.
  2. Run the following command to restore the NuGet packages:

MSBuild /t:Restore

  1. Run the following command to build the solution:

MSBuild /t:Build /p:Configuration=Release

  1. Run the following command to run the unit tests:

MSBuild /t:VSTest /p:VSTestPath=<Path to vstest.console.exe> /p:VSTestArguments="/Settings:<Path to appsettings.json> /Logger:trx" /p:Configuration=Release

This command runs the unit tests in Release mode and generates a test results file named PassboltDesktopApp.UnitTests.trx.

After the tests complete, you can view the results in Visual Studio or any other tool that supports TRX format.

Checking for Outdated .NET NuGet Dependencies in Visual Studio

  1. Open your project in Visual Studio.
  2. In the Solution Explorer, right-click on the project and select "Manage NuGet Packages".
  3. In the NuGet Package Manager, click on the "Updates" tab to see a list of all available updates for your NuGet packages.
  4. You can use this information to determine if any of your NuGet packages need to be updated.

passbolt-windows's People

Contributors

cedricalfonsi avatar dlen avatar gamabunta57 avatar gmougenel avatar scadra avatar tecnobutrul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

passbolt-windows's Issues

Issue Running Compiled Executable on Windows: Missing Runtime Directives

Hello Passbolt Team,

I recently compiled the Passbolt project for Windows, and I've encountered an issue that I hope you can assist with.

After successfully compiling the project, the resulting executable (passbolt.exe) does not produce any output or visible results when run.

Here are the details of my build environment and the issue:

  • Environment: Windows (x64)
  • Project: passbolt-windows
  • Build Output:
    • Successfully built passbolt.exe located at C:\Users\jraeiro\source\repos\passbolt-windows\passbolt\bin\x64\Release\
    • Received a warning during the build process: ILT0027: Your application is missing a Runtime Directives (rd.xml) file.

Given the warning about the missing Runtime Directives (rd.xml) file, it seems that this might be related to the issue. I understand that .NET Native requires specific directives for dynamic behaviors such as reflection, which are not detected through static analysis.

  • Attempted Solutions: I have not yet added an rd.xml file as I am unsure of the specific directives needed for Passbolt.
  • Question: Could you provide guidance on creating an appropriate rd.xml file for Passbolt, or suggest other troubleshooting steps for this issue?

Any assistance or insights you can provide would be greatly appreciated. I am looking forward to contributing to and utilizing Passbolt on the Windows platform.

Thank you for your time and support.

Difficulty Compiling passbolt-windows: Missing passbolt.csproj and passbolt.exe

Hello Passbolt Team,

I am encountering significant issues with compiling the passbolt-windows project, primarily due to the absence of passbolt.exe and now the missing passbolt.csproj file. These challenges led me to attempt opening passbolt.sln, where I discovered the missing project file issue.

Detailed Problem Context

Initial Issue with passbolt-windows:

When attempting to compile the passbolt-windows project, I encountered errors related to the absence of passbolt.exe.
This file was expected to be in the directory C:\Users\jraeiro\Source\Repos\passbolt-windows\passbolt\bin\x64\Debug, but it was not being generated, leading to compilation failures.

Attempting to Resolve via passbolt.sln:

In an effort to troubleshoot the above issue, I opened passbolt.sln to inspect the solution and project configuration.
This is when I encountered the error regarding the missing passbolt.csproj file.
Error Message:

The project file could not be loaded. Could not find file 'C:\Users\jraeiro\source\repos\passbolt-windows\passbolt\passbolt.csproj'.

The file is not present in the specified directory, and I have been unable to locate it elsewhere in the repository.

Steps Taken

Searched the entire local repository for the passbolt.csproj file.
Checked recent commits for any changes to the file's location or existence.
Re-cloned the repository to confirm if the file is absent in the source.
Attempted various build configurations and platforms to resolve the passbolt.exe missing issue.

Request for Assistance

Could you assist me with the following queries?

  • Is the passbolt.csproj file located elsewhere, or has it been renamed in the repository?
  • How can I address the issue of passbolt.exe not being generated during the build process?
  • Any recommended steps or guidelines for setting up and successfully compiling the passbolt-windows project would be highly valuable.

I am keen to contribute to Passbolt and would greatly appreciate any guidance or help in resolving these issues.

Thank you for your support.

Best regards,

Help Needed: UWP App Crash on Personal Info Load - Dump Files Attached

Hello Passbolt community!

Issue Description

I'm encountering a consistent crash in my UWP app, particularly when it tries to load personal account information. Despite extensive debugging efforts, the issue remains unresolved, and I am seeking assistance from the community.

  • Behavior: The app crashes during the loading of personal account information.
  • Environment: Windows 11 Pro, Version 22631, Architecture AMD64.

Steps to Reproduce first crash after installation

  1. Start the app.
  2. Go to the section for uploading the kit.
  3. Upload it.
  4. Wait for about 5 seconds.
  5. Observe the crash.

Steps to Reproduce subsequent crashes

  1. Start the app.
  2. Wait for about 5 seconds.
  3. Observe the crash

What I've Tried

  • Reviewing Event Viewer logs.
  • Generating and analyzing full dump files.

Attached Files

Request for Help

Any insights into the cause of this crash would be immensely helpful. Suggestions for further debugging or potential solutions are also welcome. If more information is needed, please let me know.

Thank you for your time and assistance!

Windows Desktop App - Account Creation PGP Key Import Issue

Hello Passbolt community!

Description:

I am encountering an issue during the account creation process with the Passbolt Windows desktop application (Beta version). When prompted to import my PGP private key, the application does not accept neither my .txt file nor my .key file. I have ensured that the key is correctly formatted and saved with UTF-8 encoding, but the application repeatedly fails to import it.

Steps to Reproduce:

  1. Open the Passbolt Windows desktop application.
  2. Proceed to the account creation step.
  3. When prompted, attempt to import the PGP private key using the 'Select a file' option.

Expected Behavior:

The application should accept the PGP private key and proceed with the account creation.

Actual Behavior:

The application does not import the PGP private key, preventing the completion of the account setup.

Additional Information:

  • The key file includes the correct 'BEGIN' and 'END' PGP key block headers.
  • There are no extra spaces or line breaks in the key file.
  • The file is saved with a .key extension.

Considering this is an early version, I am unsure if this behavior is a known issue or if there are additional steps I can take to troubleshoot further.

Any assistance or insight into this issue would be greatly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.