This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

[solved] A problem occurred when loading encryptionKeys.js

juju12
edited June 2012 in Windows
Hi <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_mmm.png' class='bbc_emoticon' alt='(mm)' />



First, i love one password and i use it every day since a long time now. Good job !



But i have a problem. I used to use 1PasswordAnywhere on my laptop running under Ubuntu (because unfortunately there is no linux version of your sofware <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' /> ). Usually i access the 1Password.html file and open it directly with firefox or chromium. I worked like a charm !



But suddenly few days ago i have an error when i do this. I obtain :

[quote]A problem occurred when loading the "[blablabla]/data/default/encryptionKeys.js" file[/quote]



I tried to access the file from dropbox webinterface, but i obtain :

[quote]A problem occurred when loading the "https://dl-web.dropbox.com/get/[blablabla]/data/default/encryptionKeys.js" file.[/quote]



I tried File>Repair 1Password data but nothing changes.

I tried to change the master password and go back to my original but nothing changes.

I tried with one tree months old backup but i have the same error.



It's really strange !



PS : i have the same error on my laptop under ubuntu and on my desktop under win7. The error is only with 1Password everywhere, the 1Password software on win7 works as usual.



Thanks !

Bye

Comments

  • khad
    khad Social Choreographer
    Thank you so much for your kind words, juju12! Let's get this resolved for you.



    Please see our support article which explains how to restore the files via Dropbox:



    http://support.agilebits.com/kb/1password-39-for-mac-from-mac-app-store/error-database-backup-failed
  • Hi,



    I tried all the three solutions, doesn't work !



    1) I changed my master password but still have the error.

    2) I restored from early backups, up to four month old but still have the error.

    3) I restored '1password.keys' and 'encryptionKeys.js' 2011 versions from dropbox but still have the error.



    I don't understand. How it is possible to have an error restoring a march month backup, whereas it worked fine until approximatively one week ago. It means that the backups are not corrupted, but still have the error <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_sweating.png' class='bbc_emoticon' alt='(sweat)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_sweating.png' class='bbc_emoticon' alt='(sweat)' />
  • <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/blink.png' class='bbc_emoticon' alt=':blink:' />



    Look what i've just found :



    With Firefox

    [img]http://img15.hostingpics.net/pics/631738firefox.png[/img]



    With Chrome

    [img]http://img15.hostingpics.net/pics/271577chrome.png[/img]



    With Internet Explorer

    [img]http://img15.hostingpics.net/pics/76861179ie.png[/img]



    If it works with IE and not with Firefox and Chrome it means that my files are not corrupted, right ? So where the bug come from ?
  • khad
    khad Social Choreographer
    If you are using Google Chrome (or Firefox now since version 13) you cannot use 1PasswordAnywhere in “local file mode”, i.e. you cannot use a local file URL like [b]file:///[/b]Users/dave/1Password.agilekeychain/1Password.html. Accessing 1PasswordAnywhere in this way will fail because Chrome and Firefox will prevent it from loading any of its files. This limitation is because Chrome and Firefox prevent web applications from running in this way.



    The easiest way to workaround this is to store your 1Password.agilekeychain file on a web server or service like Dropbox. If you need offline access to 1PasswordAnywhere you will need to use another browser or modify Chrome’s settings by adding the –allow-file-access-from-files command line option.



    Please let me know how it goes if you access the `1Password.html` file from the Dropbox website after logging in to your Dropbox account: https://dropbox.com/
  • Thanks for your reply.



    Ok, i get the point for the “local file mode” and the fact that i cannot use local file URL like file:///...

    But as i said in my first post I already tried to access the file from dropbox, so it's not urls with file:/// anymore, but i still have the error !



    See the screenshot :

    [img]http://img15.hostingpics.net/pics/977730Sanstitre.png[/img]
  • khad
    khad Social Choreographer
    Very strange. I think I know what the problem is though. The first problem is with local file mode. You have now avoided that issue, but the second issue is that Dropbox has a special way of handling 1Password data for 1PasswordAnywhere, but it only works if you have your data folder named exactly `1Password.agilekeychain`. In your screenshot it is called `OnePassword` without the proper extension.



    Rename `OnePassword` to `1Password.agilekeychain` and you shouldn't have any trouble. It's hard to tell for certain that you don't have another subfolder since you blacked out parts of the URL, but the data structure should look like this:



    [img]https://img.skitch.com/20120614-ew37qmybpsjw1xm7xiiw6ksugd.png[/img]
  • Great, it worked <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' /> <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/emoticon-0160-dance.gif' class='bbc_emoticon' alt='(dance)' />



    "OnePassword" is my parent folder. The folder was called "firstname-lastname.agilekeychain". I renamed it to "1Password.agilekeychain" and it now works like a charm :



    [img]http://img15.hostingpics.net/pics/198594Sanstitre.png[/img]



    It would be great to make it work with any text before ".agilekeychain" or at least write a warning that the name MUST be "1Password.agilekeychain" to make 1Password Everywhere work with dropbox...



    khad thanks so much for the help !

    Have a nice day.

    Bye.
  • khad
    khad Social Choreographer
    There are special hooks that Dropbox has put in place in order for 1PasswordAnywhere to work (since it needs to load each file in the data folder not just the 1Password.html file). I'll see if they can change this, but there may not be any getting around it on their end.



    I'm glad everything is working well now, though. That is always good news.



    Enjoy your weekend! <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />