• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Cannot export and view saved passwords

    Opera for Linux
    6
    22
    2908
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sdfgvfdrvhdfg
      sdfgvfdrvhdfg last edited by

      Hi, I cannot view (or export) saved passwords in opera.

      I tried using
      opera://password-manager/settings
      opera://password-manager/passwords

      but neither or these links show any passwords, there's also no button to export them to a file.

      I need to backup my passwords so I appreciate any help.

      Here's how it looks.

      img

      Reply Quote 0
        sdfgvfdrvhdfg 1 Reply Last reply
      • sdfgvfdrvhdfg
        sdfgvfdrvhdfg @sdfgvfdrvhdfg last edited by

        Anyone?...

        Reply Quote 0
          1 Reply Last reply
        • burnout426
          burnout426 Volunteer last edited by

          That usually means that your password file ("Login Data" in the profile folder) either contains no login entries or the file is corrupted, or the login entries are encrypted in a way that Opera can no longer decrypt them (like if you changed your Linux user account password or something).

          This means that you're most likely out of luck. Your only chance might be to use a tool like https://www.nirsoft.net/utils/web_browser_password.html or https://www.nirsoft.net/utils/chromepass.html, but those are for Windows. (Running them with Wine and pointing them to your "Login Data" file most likely won't be enough to decrypt the file.)

          You can see https://www.google.com/search?q=linux+chrome+password+decrypt to find a Linux tool to see if it helps.

          Besides all that, there's a weird issue that some Opera users experience where Opera thinks their passwords are gone after an update and then when Opera updates again, they'll show again. Don't have an explanation for that, but I guess you could uninstall and reinstall Opera (without deleting your data in ~/.config) to make sure Opera's program files are not corrupted.

          Are you using Opera Sync to sync passwords?

          Reply Quote 0
            sdfgvfdrvhdfg 1 Reply Last reply
          • sdfgvfdrvhdfg
            sdfgvfdrvhdfg @burnout426 last edited by

            @burnout426 Thank for the reply.
            No, I'm not using sync and I've already reinstalled opera to the latest version.

            Login Data is 100% NOT corrupted as I'm able to view the database using a sqllite browser. All the passwords are there (but hashed, unreadable).

            Reply Quote 1
              burnout426 1 Reply Last reply
            • burnout426
              burnout426 Volunteer @sdfgvfdrvhdfg last edited by

              @sdfgvfdrvhdfg I wonder if the os_crypt key in the "Local State" file recently changed for some reason. That would cause Opera to not be able to decrypt "Login Data" entries.

              Reply Quote 0
                sdfgvfdrvhdfg 1 Reply Last reply
              • sdfgvfdrvhdfg
                sdfgvfdrvhdfg @burnout426 last edited by

                @burnout426 but it IS ABLE to decrypt it. It always suggests login + passwd combos on all pages that are in the database.

                It's just password manager somehow cannot show me the list.

                Reply Quote 1
                  1 Reply Last reply
                • burnout426
                  burnout426 Volunteer last edited by burnout426

                  You can launch a test Opera profile using the "--user-data-dir=pathtofolderyouwant" command-line switch in a terminal to create the test profile, close that Opera, replace its "Local State" and "Login Data" files with copies of the ones from your original profile and start that test profile again to see if it has the same issue or not.

                  Before you replace that test profile's "Local State" and "Login Data" files, you could save a few passwords in it to see if the password manager shows those or not.

                  Also, when you goto opera://password-manager/settings and or opera://password-manager/passwords and hit ctrl + shift + j, are there any errors in the error console related to that page or passwords?

                  Reply Quote 0
                    sdfgvfdrvhdfg 1 Reply Last reply
                  • sdfgvfdrvhdfg
                    sdfgvfdrvhdfg @burnout426 last edited by

                    @burnout426 Console is clear, no errors.

                    I will try creating a new profile, too, sounds like an interesting idea, thanks!

                    Reply Quote 1
                      1 Reply Last reply
                    • burnout426
                      burnout426 Volunteer last edited by

                      For what it's worth, I tested in Linux Mint 2.2 (Cinnamon) with the deb version of Opera 116.0.5366.71. Opera saves login entries for sites and they show up no problem at opera://password-manager/passwords and they are available for export at ```opera://password-manager/passwords. They are still there through multiple restarts of Opera and Linux.

                      Reply Quote 1
                        sdfgvfdrvhdfg 1 Reply Last reply
                      • sdfgvfdrvhdfg
                        sdfgvfdrvhdfg @burnout426 last edited by

                        @burnout426 Ok, I've done that and here're the results:

                        1. Started a new profile - manually added some passwords - they are visible and editable
                        2. Restarted opera - the same, everything works
                        3. Copied over Local State and Default/Login Data from my original profile to the new one - passwords are hidden again.
                        4. Added a new password manually inside the new profile - it's there.
                        5. And after restart - it's gone.

                        It's a bit confusing for me that opera is able to read my passwords and suggest them but fails to list them inside Password Manager...

                        Reply Quote 1
                          leocg 1 Reply Last reply
                        • leocg
                          leocg Moderator Volunteer @sdfgvfdrvhdfg last edited by

                          @sdfgvfdrvhdfg If the problem started after step 3, it seems to me that one of those files, or even both, is messed up.

                          Reply Quote 0
                            sdfgvfdrvhdfg 1 Reply Last reply
                          • sdfgvfdrvhdfg
                            sdfgvfdrvhdfg @leocg last edited by

                            @leocg Looks like it, but how come Opera still fills out my form with these passwords?

                            Reply Quote 1
                              leocg burnout426 2 Replies Last reply
                            • leocg
                              leocg Moderator Volunteer @sdfgvfdrvhdfg last edited by

                              @sdfgvfdrvhdfg Because the passwords are still there, but they are hidden for some reason.

                              Reply Quote 0
                                1 Reply Last reply
                              • burnout426
                                burnout426 Volunteer @sdfgvfdrvhdfg last edited by

                                @sdfgvfdrvhdfg Using https://sqlitestudio.pl/ for example, "add database", point it to "Login Data", right-click the database, choose "connect" and then double-left-click on the "Logins" table. Then, switch to the "data" tab in the right-hand pane.

                                For example, I see v10 before password values. Do yours have an older version? Maybe the password-manager page is picky about version where as autofill is not. Would be weird, but, you could compare to a fresh Login Data file.

                                You can also expand the Columns for the "Logins" table and compare with a fresh Login Data to see if the number of columns is different. If so, maybe the password-manager page is picky about that.

                                Ultimately, I don't know though.

                                Reply Quote 0
                                  sdfgvfdrvhdfg 2 Replies Last reply
                                • sdfgvfdrvhdfg
                                  sdfgvfdrvhdfg @burnout426 last edited by

                                  @burnout426 It's a mix of:

                                  • v116
                                  • v11
                                  • v10
                                  • v112

                                  Mostly v10.

                                  Reply Quote 1
                                    1 Reply Last reply
                                  • sdfgvfdrvhdfg
                                    sdfgvfdrvhdfg @burnout426 last edited by

                                    @burnout426 Where do I find the key or a passphrase used ot encode passwords? Is it somewhere in Local State? Or does opera use system passwords?

                                    Reply Quote 0
                                      leocg 1 Reply Last reply
                                    • leocg
                                      leocg Moderator Volunteer @sdfgvfdrvhdfg last edited by

                                      @sdfgvfdrvhdfg Chromium uses your OS login credentials to encrypt saved passwords.

                                      Reply Quote 0
                                        1 Reply Last reply
                                      • burnout426
                                        burnout426 Volunteer last edited by

                                        Opera/Chromium makes use of the root/os_crypt/encrypted_key value in the "Local State" file in some way. I don't know how exactly that's generated/salted/hashed etc. based on your OS login info, but on Windows for example, I think it uses CryptProtectData. Also, see https://tierzerosecurity.co.nz/2024/01/22/data-protection-windows-api.html. But, not sure what exact entropy is given to it. For macOS, it uses the macOS key chain. For Linux, it uses a certain API depending on the desktop environment. See https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/docs/linux/password_storage.md for example.

                                        For Linux, you can take a look at posts like https://stackoverflow.com/questions/23201146/how-to-decrypt-data-which-is-crypted-by-cryptprotectdata-function and https://www.reddit.com/r/linux/comments/1coiu2g/how_does_chrome_encrypt_users_passwords_etc_on/.

                                        Looking at https://ohyicong.medium.com/how-to-hack-chrome-password-with-python-1bedc167be3d might explain things the best for how to use the encrypted key the the Login State file and the password data for an entry in Login Data and AES to decrypt a password.

                                        Reply Quote 0
                                          sdfgvfdrvhdfg 1 Reply Last reply
                                        • sdfgvfdrvhdfg
                                          sdfgvfdrvhdfg @burnout426 last edited by

                                          @burnout426 Wow, thanks, this URL (https://ohyicong.medium.com/how-to-hack-chrome-password-with-python-1bedc167be3d) is really helpful 😉

                                          Also, this one: https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/docs/linux/password_storage.md kindof explains why I might be having problems with passwords. I used KWallet before but it's been unreliable so I've removed it.

                                          As for the python script - I've found that already but I requires windows (which I don't have access to) and relies on WinApi which makes it unportable. There still has to be a way to do this in Linux somehow...

                                          Reply Quote 1
                                            1 Reply Last reply
                                          • leocg
                                            leocg Moderator Volunteer last edited by

                                            @Andyblake432 See above

                                            Reply Quote 0
                                              1 Reply Last reply
                                            • First post
                                              Last post

                                            Computer browsers

                                            • Opera for Windows
                                            • Opera for Mac
                                            • Opera for Linux
                                            • Opera beta version
                                            • Opera USB

                                            Mobile browsers

                                            • Opera for Android
                                            • Opera Mini
                                            • Opera Touch
                                            • Opera for basic phones

                                            • Add-ons
                                            • Opera account
                                            • Wallpapers
                                            • Opera Ads

                                            • Help & support
                                            • Opera blogs
                                            • Opera forums
                                            • Dev.Opera

                                            • Security
                                            • Privacy
                                            • Cookies Policy
                                            • EULA
                                            • Terms of Service

                                            • About Opera
                                            • Press info
                                            • Jobs
                                            • Investors
                                            • Become a partner
                                            • Contact us

                                            Follow Opera

                                            • Opera - Facebook
                                            • Opera - Twitter
                                            • Opera - YouTube
                                            • Opera - LinkedIn
                                            • Opera - Instagram

                                            © Opera Software 1995-