Mathias Brodala Posted December 28, 2018 Report Posted December 28, 2018 After upgrading Enpass to version 6.0 on my desktop (Xfce, Debian Sid) today, I was greeted with a wizard to restore my wallet. I went and selected Dropbox and after logging in and giving Enpass permissions I was greeted with a site prompting me to launch `xdg-open` which in turn gave me the following error message: Quote The address "enpassauth://dropbox/?state=security_token_sinev&code=..." could not be opened. The given location is not supported. (Freely translated from German) How should I set up sync from Dropbox with Enpass 6?
Vinod Kumar Posted December 28, 2018 Report Posted December 28, 2018 Hi @Mathias Brodala, Please try this command in your terminal. xdg-open enpassauth://dropbox/ If it fails to launch Enpass than protocol handlers are not yet updated. A reboot of system should work.
ice-breaker Posted December 28, 2018 Report Posted December 28, 2018 (edited) Same problem here. Since update to Enpass 6.0.0.230, nothing goes! When I try to sync to Google Drive, the Login does not appear and next time, The UI shows "Something went wrong. Error 0." PLEASE HELP! The command xdg-open enpassauth://dropbox/ showed the screen above. Edited December 28, 2018 by ice-breaker
ice-breaker Posted December 28, 2018 Report Posted December 28, 2018 (edited) I managed to update to Version 6 as follows (don't know, if Step 1 and 2 are really helpful): Started up Windows 10 and updated to Version 6 of Enpass Turned on Synchronization with my Google Drive account.This seemed to convert my Data to Version 6 compatible database. Now rebooted to Linux and completely removed Enpass Installed the Enpass Extension in Chromium Browser Re-Installed Enpass Version 6 for Linux Started Enpass as a "New User" Enter Master Password Enabled Sync. Now the credentials for my Google Drive account could be entered, since the browser opened now. Hope this helps. It is important, that the Browser-Extension is compatible with the installed Desktop-Version, otherwise, the Browser is not launched to enter the credentials for the Sync (e.g. Google Drive). Edited December 28, 2018 by ice-breaker
Vinod Kumar Posted December 28, 2018 Report Posted December 28, 2018 Hi @ice-breaker, Glad it worked for you. Here is an FAQ for restoring Enpass 5 data from cloud.
magadaan Posted December 29, 2018 Report Posted December 29, 2018 Hi @Vinod Kumar, setting up the Dropbox Sync is not working. I am using Linux Mint Cinammon 19 with Enpass 6.0.0 (230). When i try to set up the sync again, everything works perfectly to the 'xdg-open' attempt of the browser. Enpass does not retrieve the callback and is stuck waiting for the authentication. Terminal: ~$ xdg-open enpassauth://dropbox/ gio: enpassauth://dropbox/: Der angegebene Ort wird nicht unterstützt Translated to: The given location is not supported. Is there a way to update the 'protocol handlers'? (rebooted after the Enpass update) Please help.
Hui Posted December 30, 2018 Report Posted December 30, 2018 (edited) 19 hours ago, magadaan said: Hi @Vinod Kumar, setting up the Dropbox Sync is not working. I am using Linux Mint Cinammon 19 with Enpass 6.0.0 (230). When i try to set up the sync again, everything works perfectly to the 'xdg-open' attempt of the browser. Enpass does not retrieve the callback and is stuck waiting for the authentication. Terminal: ~$ xdg-open enpassauth://dropbox/ gio: enpassauth://dropbox/: Der angegebene Ort wird nicht unterstützt Translated to: The given location is not supported. Is there a way to update the 'protocol handlers'? (rebooted after the Enpass update) Please help. I have exactly the same problems. I have tried dropbox, google drive and icloud and none of them work. The error information from firefox is something like "Firefox doesn’t know how to open this address". Using terminal, it will say: gio: enpassauth://googledrive: Operation not supported Edited December 30, 2018 by Hui
Vinod Kumar Posted January 2, 2019 Report Posted January 2, 2019 Hi @Hui, It seems Enpass protocol handlers are not updated properly at install time. Please run these commands on Terminal. sudo update-desktop-database sudo update-mime-database /usr/share/mime Try again and share results. @magadaan
jackenmen Posted January 2, 2019 Report Posted January 2, 2019 Hi, I have similar issue - "Firefox doesn’t know how to open this address, because one of the following protocols (enpassauth) isn’t associated with any program or is not allowed in this context." I tried to open it with xdg-open and then Enpass appears, but nothing happens in it - there's still waiting icon (rotating circle).
Vinod Kumar Posted January 2, 2019 Report Posted January 2, 2019 Hi @jackenmen, If xdg-open launches Enpass than all is good. There was a bug in a older version of Firefox. Is your Firefox updated? If yes, can you try in another browser? Thanks.
jackenmen Posted January 2, 2019 Report Posted January 2, 2019 (edited) I installed chromium and it works. My Firefox is however updated (64.0), so I guess this issue is still not fixed there. I also tried running: xdg-open enpassauth://dropbox/?state=security_token_sinev&code=... But it did nothing, so could you tell me how would I need to run it, if I wanted to open that link by only using xdg-open? Edited January 2, 2019 by jackenmen
Hui Posted January 2, 2019 Report Posted January 2, 2019 2 hours ago, Vinod Kumar said: Hi @Hui, It seems Enpass protocol handlers are not updated properly at install time. Please run these commands on Terminal. sudo update-desktop-database sudo update-mime-database /usr/share/mime Try again and share results. @magadaan @Vinod Kumar Great! It works now. Thanks.
Mathias Brodala Posted January 2, 2019 Author Report Posted January 2, 2019 Thanks for all the pointers. Interestingly the upgrade went smoothly with my 2nd user account, even `xdg -open enpassauth://dropbox/` worked without any additional work. However, this didn't work on my main account but I found a solution by simply manually invoking Enpass: /opt/enpass/Enpass "enpassauth://dropbox?state=security_token_sinew&code=<code>" All arguments (state and code) are shown in the browser URL when trying to set up Dropbox sync. With this I could set up Dropbox sync successfully. 2
magadaan Posted January 3, 2019 Report Posted January 3, 2019 (edited) @Hui: Your solution did not work for me. @Mathias Brodala: That did the trick! Thanks. Edited January 3, 2019 by magadaan
Smartie Posted February 25, 2020 Report Posted February 25, 2020 xdg-mime default enpass.desktop x-scheme-handler/enpassauth did it for me
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now