Menu

configuration problems

boot/2
2012-11-23
2014-02-22
  • boot/2

    boot/2 - 2012-11-23

    what is GoogleSyncKeePassUID? where can I get it? is it Name or Project
    Number or Project ID?
    I have tryed these ones and i got next error: Value does not fall within
    the expected range.

     
  • Danyal

    Danyal - 2012-11-26

    Hi boot/2,

    You will need to create a KeePass entry for your Google account if you do not have one already. Right-click on the entry and select the Edit/View entry. From the popup window, select the Properties tab and at the very bottom you should see a UUID.

    Copy that UUID, exit KeePass, paste that UUID in the config XML and then restart KeePass.

     
    • Carrie Sallwey

      Carrie Sallwey - 2013-02-24

      I am not sure where you are right clicking. I thought the UID would be the code.google.com page after creating the api, but I have searched relentlessly and do not find out.
      If the above post it states to right-click on the entry. Exactly where are you right clicking?

       
  • Kctwoykn

    Kctwoykn - 2013-03-27

    Issues with Google plugin working with KeePass. This is how my config. File is set up on very little knowledge of how *.XML files work, and very little documentation that there is online. The original author of this program scant notes do not give a clue of what EXACT steps and how to set up the files.

    <Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Meta> <PreferUserConfiguration>true</PreferUserConfiguration> </Meta> <Custom> <Item> <Key>EnableAutoSync</Key> <Value>false</Value> </Item> <Item> <Key>GoogleSyncClientID</Key> <Value>{google api client id}</Value> </Item> <Item> <Key>GoogleSyncClientSecret</Key> <Value>{google api client secret}</Value> </Item> <Item> <Key>GoogleSyncKeePassUID</Key> <Value>{keepass google account UID}</Value> </Item> <Item> <Key>GoogleSyncShowAuthenticationForm</Key> <Value>false</Value> </Item> </Custom> </Configuration>

    When I do a validate check I get:

    Error at line 3, column 11: Validation failed: no DTD found !

    Is this how the *.XML new config file should look or not? Don't see an sample of how the flow works.

    I'm using XML Copy Editor to cut and past the <Custom> lines of sample_keepass.xml into the original KeePass.xml file and renaming the original as KeePassOriginal.xml so I can go back to it.

    With no references how and were to put the lines.

    I entered all the 3 paramiiters for:
    Client ID, Client Secret, and KeePass UID.
    Unzipped the file and copied the google plugin into the KeePass directory.
    Then I closed KeePass and restarted it. And got this message.

    Initilazation Failed: Required configuration entries were not found. Please exit KeePlass and update configuration file.
    Required Configuration entries: GoogleSyncClientID, GoogleSyncClientSecret, GoogleSyncKeePassUID
    Optional Configuration entries: EnableAutoSync,
    GoogleSyncShowAuthenticationForm

    BTW:
    on the UID field for KeePass what URL page should be put in the URL line to reference the correct UID?

    I have two UID # 's one for:

    www.gmail.com

    and one for:

    https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/?tab%3Dwm&scc=1&ltmpl=default&ltmplcache=2

    I also have a Drive set up on my Google Account. With a copy of the KeePass file in the root directory. Shound the URL be referencing that page?

    What specific URL are you to put in the URL line to generate the correct UID

     
    • Danyal

      Danyal - 2013-04-30

      Please close KeePass before modifying the configuration file.
      Make your changes to the config file and save it.
      Now start KeePass again.
      As long as you keep getting that error (Initialization failed), either KeePass cannot find the configuration file or the configuration entries are not entered correctly in the configuration file.

      If you are using Installed version of KeePass, there are other threads here that help figuring out the correct location of the configuration file (unfortunately I have no experience with the installed version)

       
  • Christian Mailhot

    I have the same question:

    Where do we get these information? GoogleSyncClientID , GoogleSyncClientSecret
    do we need to keep those {} ?

    Please put an exemple of this file when it is configured and tell us where to get those informations.

    thanks

     
    • Danyal

      Danyal - 2013-04-30

      Please remove curly brackets
      Example

      <Custom>
      <Item>
          <Key>EnableAutoSync</Key>
          <Value>false</Value>
      </Item>
      <Item>
          <Key>GoogleSyncClientID</Key>
          <Value>1234.apps.googleusercontent.com</Value>
      </Item>
      <Item>
          <Key>GoogleSyncClientSecret</Key>
          <Value>1111</Value>
      </Item>
      <Item>
          <Key>GoogleSyncKeePassUID</Key>
          <Value>2222</Value>
      </Item>
      </Custom>
      
       
  • Christian Mailhot

    I found a simplier way to make it work:

    -You have to put your keepass file on your Google Drive First
    -Open Keepass on your pc and browse to your password file on your Google Drive (this way it will use this file instead of the local one)

    -On your mobile device install "Google drive"
    -Still on your mobile open Google Drive then browse to your password file and click it, this will automatically open Keepass with your Google Drive file.

    This works fine for me but i dont know if the updates will work.

    Peace!

     
  • Jonny

    Jonny - 2014-02-03

    No, this will not work. If the file is updated by your mobile device, and then by your PC before your Google Drive can sync (ie, you had no WiFi connection). THen when Google Drive syncs your PC with the Google Drive, the changes you made on your mobile device will be lost (newest file wins). The trouble is Google Drive syncs the newest file only and does not merge information like KeePass sync does. Cheers.

     
    • George

      George - 2014-02-22

      Jonny,

      You are right. I got Google Drive to launch Keepass but the sync does not happen to both locations rendering the other file outdated.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.