Package Details: proton-pass 1.37.1-3

Git Clone URL: https://aur.archlinux.org/proton-pass.git (read-only, click to copy)
Package Base: proton-pass
Description: Open-source and secure identity manager
Upstream URL: https://proton.me/pass
Licenses: GPL-3.0-or-later
Conflicts: proton-pass-bin
Submitter: marmotz
Maintainer: DodoGTA
Last Packager: DodoGTA
Votes: 19
Popularity: 0.28
First Submitted: 2024-06-06 17:07 (UTC)
Last Updated: 2026-05-28 18:06 (UTC)

Latest Comments

1 2 3 4 Next › Last »

FluffyToast commented on 2026-05-31 10:50 (UTC)

@DodoGTA Electron40 has been released, I built it and it seems to be running without issues, so i guess it can be changed depends array. Also having nodejs-lts-jod works beautifully while nodejs-26 does not seems to work (on all distros).

pkgname=proton-pass
pkgver=1.37.1
pkgrel=3
pkgdesc="Open-source and secure identity manager"
arch=('aarch64' 'x86_64')
url="https://proton.me/pass"
license=('GPL-3.0-or-later')
- depends=('bash' 'gcc-libs' 'glibc' 'electron')
+ depends=('bash' 'gcc-libs' 'glibc' 'electron40')
makedepends=('rust' 'yarn')
conflicts=('proton-pass-bin')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ProtonMail/WebClients/archive/refs/tags/${pkgname}@${pkgver}.tar.gz"
        "proton-pass.desktop")

Musikolo commented on 2026-05-30 05:19 (UTC) (edited on 2026-05-30 05:24 (UTC) by Musikolo)

With the new changes, I no longer need npm to build this package. However, it still freezes with the default nodejs package installed (nodejs-26). The only way I found to overcome this hurdle is by adding nodejs-lts-jod to the makedepends array.

In addition, I still think it would be nice to include the hack I mentioned here to replace the Wayland icon with the Proton Pass icon on the window frame. I don't know if this occurs in all window managers, but it does on KDE Plasma. Please check these screenshots to better understand what I'm talking about.

Thanks.

Musikolo commented on 2026-05-23 22:08 (UTC) (edited on 2026-05-23 22:12 (UTC) by Musikolo)

@DodoGTA, I had to add npm to the makedepends array to pass this error: https://pastebin.com/4Vb41pvq

From there the code compiles well but it hangs up on the packaging step of the yarn exec command within the build() function. After a long waiting time with no activity, I have to press Ctrl+C to cancel the process. This is what I get: https://pastebin.com/6UaisFfh

At this point, when I run makepkg -crs to build the app, the following packages are installed on my box:

==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (8) ada-3.4.4-1  node-gyp-12.3.0-1  nodejs-26.2.0-1  nodejs-nopt-10.0.0-1  semver-7.8.1-1  simdjson-1:4.6.4-1  npm-11.14.1-1  yarn-1.22.22-2

Further looking into, I noticed that both Debian and Red Hat oficial binaries distributed by Proton use Electron39 and Nodejs v22 which seems to be the most widely adopted versions right now in Arch. This is what I found on the DEB and RPM packages:

[musikolo@MyPC tmp]$ strings proton-pass_1.37.0_amd64/usr/lib/proton-pass/Proton\ Pass | grep "Electron v\|node.js/v"
Electron v39.8.4
node.js/v22.22.1
[musikolo@MyPC tmp]$ strings proton-pass-1.37.0-1.x86_64/usr/lib/proton-pass/Proton\ Pass | grep "Electron v\|node.js/v"
Electron v39.8.4
node.js/v22.22.1

Finnally, by replacing electron with electron39 in the depends dependency array and adding nodejs-lts-jod to the makedepends array, I was able to build this package successfully!

[musikolo@MyPC proton-pass]$ diff -Nru PKGBUILD.orig PKGBUILD
--- PKGBUILD.orig       2026-05-23 04:34:39.000000000 -0500
+++ PKGBUILD    2026-05-23 16:50:28.878988923 -0500
@@ -11,8 +11,8 @@
 arch=('aarch64' 'x86_64')
 url="https://proton.me/pass"
 license=('GPL-3.0-or-later')
-depends=('bash' 'gcc-libs' 'glibc' 'electron')
-makedepends=('rust' 'yarn')
+depends=('bash' 'gcc-libs' 'glibc' 'electron39')
+makedepends=('rust' 'yarn' 'npm' 'nodejs-lts-jod')
 conflicts=('proton-pass-bin')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ProtonMail/WebClients/archive/refs/tags/${pkgname}@${pkgver}.tar.gz"
         "proton-pass.desktop")

I hope it helps.

Musikolo commented on 2026-04-28 04:31 (UTC) (edited on 2026-05-30 05:26 (UTC) by Musikolo)

@DodoGTA, I found better way to handle the issues with the logo icon that not only doesn't require changing the proton-pass.desktop file, but it also solves the issue with Wayland icon on Electron window frame. All it takes is applying the following hack in the prepare() function of the PKGBUILD file:

# HACK: Set Proton Pass icon on the window frame
sed -i 's@opacity: 1,@opacity: 1, icon: "/usr/share/proton-pass/assets/logo.png",@' applications/pass-desktop/src/main.ts

However, to make it look really nice, it would be nice to convert the logo.svg file into PNG format and use it here. If you could do this it would be fantastic!

Regards.

Musikolo commented on 2026-04-26 18:00 (UTC)

@DodoGTA, I noticed Proton Pass starts in a separate Wayland window which displays the W yellow Wayland icon on the taskbar. Since that looks awful, I played with a few things and I think I found a way to correct this issue. All it takes is applying the following changes in the proton-pass.desktop file:

diff --git a/proton-pass-orig.desktop b/proton-pass.desktop
index 82b9332..77692bb 100644
--- a/proton-pass-orig.desktop
+++ b/proton-pass.desktop
@@ -2,7 +2,8 @@
 Name=Proton Pass
 Comment=Proton Pass desktop application
 GenericName=Password Manager
-Exec=proton-pass %U
+Path=/usr/share/proton-pass
+Exec=electron app.asar
 Icon=proton-pass
 Type=Application
 StartupNotify=true

Please consider adding this enhancement. Thanks for maintaining this package.

Regards.

DodoGTA commented on 2026-02-23 22:11 (UTC)

@jordanbcx I guess the Proton (AG) team reset their tags again (anyway I updated the checksum)

jordanbcx commented on 2026-02-23 13:59 (UTC)

Edit build files with updated integrity if it fails:

sha256sums=('9d53fbcbe607657818f8c32bc2a4cf22ab399c11fc1045490053879b739f1171' '501210c67fc921a2fb4ba591980192ad1da60e26fb6b2fd7d68aad4075eafac7')

Musikolo commented on 2026-02-07 16:34 (UTC)

Sure thing. Here you have:

[musikolo@MyPC tmp]$ cat xfs-87b1d7b7/build.log 
# This file contains the result of Yarn building a package (netlify-cli@npm:17.38.1)
# Script name: postinstall

/home/musikolo/builds/proton-pass/src/WebClients-proton-pass-1.34.2/node_modules/buffer-equal-constant-time/index.js:37
var origSlowBufEqual = SlowBuffer.prototype.equal;
                                  ^

TypeError: Cannot read properties of undefined (reading 'prototype')
    at Object.<anonymous> (/home/musikolo/builds/proton-pass/src/WebClients-proton-pass-1.34.2/node_modules/buffer-equal-constant-time/index.js:37:35)
    at Module._compile (node:internal/modules/cjs/loader:1809:14)
    at Object..js (node:internal/modules/cjs/loader:1940:10)
    at Module.load (node:internal/modules/cjs/loader:1530:32)
    at Module._load (node:internal/modules/cjs/loader:1332:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1553:12)
    at require (node:internal/modules/helpers:152:16)
    at Object.<anonymous> (/home/musikolo/builds/proton-pass/src/WebClients-proton-pass-1.34.2/node_modules/jwa/index.js:1:19)
    at Module._compile (node:internal/modules/cjs/loader:1809:14)

Node.js v25.6.0
[musikolo@MyPC tmp]$

Please let me know if anything else is needed.

Regards.

DodoGTA commented on 2026-02-07 16:25 (UTC)

@Musikolo Can you send those build logs in /tmp too?

Musikolo commented on 2026-02-07 15:11 (UTC)

Looks like version 1.34.2 doesn't build right. Not sure if I'm missing something. Please find the build logs I got at https://pastebin.com/F5eZrQLv

Thanks!