How do the data files work?

dougkramer
dougkramer
Community Member
edited December 2014 in Mac

Can you point me to an explanation of the 1Password data and keychain files (including Dropbox) that explain their purpose, how they work, and when they are updated? I'm trying to understand which files do what.

Here are my files:

  • ~/Library/Application Support/1Password/1Password.agilekeychain
  • ~/Library/Application Support/1Password/Backups/*
  • ~/Library/Application Support/1Password/Data/*
  • ~/Dropbox/1Password/1Password.agilekeychain

As near as I can figure, the entry records data is always updated immediately in the Data/ directory.

Since the agilekeychain file seems to be the only file stored in Dropbox, and the Data/ is not, how does Dropbox know to update the Data/ files? Is there a redirect or symlink from the Dropbox folder to the Data/ folder?

What is the agilekeychain file for? Does it store the master password?

Comments

  • Hi @dougkramer‌

    I'd be happy to help explain.

    ~/Library/Application Support/1Password/1Password.agilekeychain

    If you are syncing with Dropbox this is likely a leftover that can be deleted. To confirm, after you've made a backup, move this file to the trash and ensure 1Password still opens as you'd expect.

    ~/Library/Application Support/1Password/Backups/*

    These are automatic snapshots that 1Password takes of your data on a periodic basis and are for (as the name suggests) backup purposes.

    ~/Library/Application Support/1Password/Data/*

    This is your live data for 1Password 5 for Mac.

    ~/Dropbox/1Password/1Password.agilekeychain

    If you are syncing with Dropbox then this is your sync file.

    As near as I can figure, the entry records data is always updated immediately in the Data/ directory.

    Correct.

    Since the agilekeychain file seems to be the only file stored in Dropbox, and the Data/ is not, how does Dropbox know to update the Data/ files? Is there a redirect or symlink from the Dropbox folder to the Data/ folder?

    Whenever a change is made to the live data (in the Data folder discussed above) 1Password Mini also writes the same changes to the Agile Keychain in Dropbox. Because that file changes, Dropbox knows to sync the changes to your other computers.

    What is the agilekeychain file for? Does it store the master password?

    The Agile Keychain is the format we use for syncing data. It does not store your Master Password. In fact your Master Password is not stored anywhere.

    Thanks!

  • dougkramer
    dougkramer
    Community Member

    This is very helpful. Thank you so much for clearing this up. I deleted the extraneous agiilekeychain file.

  • On behalf of Ben, you're welcome. Please let us know if you have any other questions! :)

This discussion has been closed.