Package Details: authy 1.7.0-2

Git Clone URL: https://aur.archlinux.org/authy.git (read-only)
Package Base: authy
Description: Two-Factor Authentication from your PC. Converted from Windows electron version
Upstream URL: https://authy.com/
Licenses: ISC
Submitter: ralismark
Maintainer: ralismark
Last Packager: ralismark
Votes: 8
Popularity: 1.866173
First Submitted: 2019-01-28 01:19
Last Updated: 2019-07-13 02:30

Latest Comments

ralismark commented on 2019-07-13 02:31

I have updated the package with this patch. Thanks @bpier!

christoph86 commented on 2019-07-10 16:57

Ah! Thanks to both of you, it worked for me too. :-)

I was really confused by the PKBUILD part. I didn't understand that changing the desktop file and installing electron4 was enough.

JimDeadlock commented on 2019-07-10 16:24

sudo pacman -S electron4

/usr/share/applications/authy.desktop

Change: Exec=/usr/bin/electron --app /usr/lib/authy/app.asar

To: Exec=/usr/bin/electron4 --app /usr/lib/authy/app.asar

bpier commented on 2019-07-10 16:07

@christoph86

The package “electron” (on which authy depends) used to be Electron 4, but it is now Electron 5. The API of Electron has changed in this version, which causes Authy to break. Luckily, there is another package, “electron4”, that always points to Electron 4.

The solution is to change the dependency to be “electron4” rather than “electron”.

christoph86 commented on 2019-07-10 16:02

Can you please explain the solution? My friend doesn't get it... :-)

rrjj commented on 2019-07-09 03:11

Thanks @bpier - that worked!

bpier commented on 2019-07-08 16:14

Apply these changes to use electron4 instead of electron:

diff --git a/PKGBUILD b/PKGBUILD
index 41e1a96..9f2238b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@ pkgdesc="Two-Factor Authentication from your PC. Converted from Windows electron
 arch=("x86_64")
 url="https://authy.com/"
 license=('ISC')
-depends=('electron')
+depends=('electron4')
 makedepends=('npm' 'p7zip' 'asar')
 source=("https://s3.amazonaws.com/authy-electron-repository-production/authy/stable/${pkgver}/win32/x64/Authy%20Desktop%20Setup%20${pkgver}.exe"
         "authy.desktop")
 md5sums=('bd2182d0ae4c957efe5f2d244d4dfdb5'
-         'dbe1a299080ecbd2c9727b9f951502db')
+         '4458c142b18a779ac51496138a3782d5')

 build() {
    cd "$srcdir"
diff --git a/authy.desktop b/authy.desktop
index 0f64b0b..f30a9e0 100644
--- a/authy.desktop
+++ b/authy.desktop
@@ -2,7 +2,7 @@
 Version=1.7.0
 Type=Application
 Terminal=false
-Exec=/usr/bin/electron --app /usr/lib/authy/app.asar
+Exec=/usr/bin/electron4 --app /usr/lib/authy/app.asar
 Name=Authy
 Comment=Two-Factor Authentication
 Icon=/usr/lib/authy/icon128.png

Note: Is there a way to send pull requests to AUR packages?

Linx89 commented on 2019-07-03 12:16

Blank screen confirmed as well.

JimDeadlock commented on 2019-07-01 09:47

Blank screen confirmed here

huyizheng commented on 2019-07-01 02:06

It seems that this asar file is incompatible with electron 5. It stucks at a blank screen when open with electron 5.