Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1818 Derive password from other entry data

KeePass_2.x
closed
nobody
5
2014-01-29
2014-01-27
Shaun Forsyth
No

Hi Guys,
I was wondering if it would be possible to add options to the 'Generate using patten' password Generation Options to allow the use of field place holders. So for example you could have {url} (like in auto type), however the options to do things like {url}[2] would take the 2nd letter from the url. Further to this it would be nice to be able to do something like {url}[2L] which the letter can be L or U to indicate the case of the retrieved character.

It should probably understand from end of the string as well {url}[-2]

Hope this would help people which use remember-able keyed passwords for logins.

Discussion

  • Paul
    Paul
    2014-01-27

    The whole point of KeePass is you only have to remember one password, all the others can then be as secure as the site/program will allow. I suggest you use a rememberable password generator instead.

    cheers, Paul

     
  • Shaun Forsyth
    Shaun Forsyth
    2014-01-27

    I Paul, I don't completely agree. While this is the ideal usage case, I can't always get to my password file, due to hosting it myself for security and not all application platforms understanding SSH.

    So I tend to mix my methods of password generation and storage dependant upon the security level I require at the service I am using.

    I use the software Keepass for convenience of auto typing passwords and auto typing sequences to connect to SSH servers from the command line.

    I do respect your usage scenario and thank you for your reply.

    Cheers, Shaun

     
  • Paul
    Paul
    2014-01-27

    That's an unusual scenario and I don't think there is an easy answer for you. I only use KeePass and store a copy of the DB on the web for remote access.

    cheers, Paul

     
  • Dominik Reichl
    Dominik Reichl
    2014-01-29

    • summary: Auto Type Place Holders in Password Generation --> Derive password from other entry data
    • status: open --> closed
     
  • Dominik Reichl
    Dominik Reichl
    2014-01-29

    If I understand that correctly, you want to derive the password from other entry data, based on some rules. As there's no randomness involved, this has nothing to do with password generation.

    What you suggested can already be realized. Your '{url}[2]' is equivalent to entering

    {T-REPLACE-RX:/{URL}/^.(.).*$/$1/}
    

    in the password field (the second character of the entry's URL will then be sent by auto-type).

    '{url}[-2]' would be

    {T-REPLACE-RX:/{URL}/^.*(.).$/$1/}
    

    For a documentation of the T-REPLACE-RX placeholder, see
    http://keepass.info/help/base/placeholders.html#replacerx

    Best regards,
    Dominik

     
    Last edit: Dominik Reichl 2014-01-29