Automatically generate new password for item based on template
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
After asking for help in this topic, and the request to make a ticket for the feature request that came out of it, here it goes:
I have created several templates that have specific info for autotype, URL, string fields etc., but should have no fixed password. When I create a new item based on this template, I'd like KeePass to automatically create a password based on the default password profile, just like it does when creating a completely new item.
Auto-generating the password fields for an entry based on a template would be a nice and intuitive, I dare say even the expected behavior, if the template has an empty password field, as it is exactly what happens for new entries without a template.
I had assumed that new passwords would be generated automatically with this feature. I only realised recently that they weren't and had a bunch of new accounts all created with same password which isn't ideal for security! So yes I would agree that this would be expected and should be default behaviour.
Last edit: agulland 2016-07-10
I agree that this ability would be helpful, but there has to be way to specify any of the following:
when creating a new record based on a given template. All of these options would be useful in different circumstances, and I wouldn't want to sacrifice the availability of some of them to make others possible.
Right now, leaving the template's password field blank, so that the new records created using that template also end up with their password fields blank, seems to be the least troublesome way to go.
Good idia!
Thumb up!
I'd prefer to set the template's password field to placeholder {NEWPASSWORD} or {NEWPASSWORD:/Profile/}. Or any other Placeholder. The act of creating a record from the template would have the password field replaced with the result. Leaving it blank could default to {NEWPASSWORD}.
I agree with this functionality concept.
Given this is the most up-voted open feature request, could I rudely ask for some action on it soon please!? :)
You can ask, but given the age of the request I wouldn't hold your breath.
cheers, Paul
I've partially implemented this now. When adding a new entry based on a template that has an empty password field, a random password is generated now (based on the password generator profile 'Automatically generated passwords for new entries').
Here's the latest development snapshot for testing:
https://keepass.info/filepool/KeePass_200315.zip
There's no way yet to use a different password generator profile.
Thanks and best regards,
Dominik
Thanks Dominik, you really are the best. I'm going to go donate right now (though with the current exchange rate I don't think my aussie dollars are going to buy very much!).
If you want to use a specific password profile in your templates see this post.
cheers, Paul
Thanks Paul, that's some impressive magic, but (assuming I understand it correctly) that doesn't create a password when you make a new entry from a template -- you must make the new entry try to send a password first.
Not a huge difference I'll admit, but I prefer it the way Dominik has it.
Regards,
Nighty
edit:typo
Last edit: Nighty 2020-03-16
It doesn't make the new password until you use the password entry, either copy or drag n drop.
cheers, Paul
Maybe, it would make sence to leave the password field empty by default, when the entry is created in the templates group (or in its subgroup)?
In particular, it seems natural to make the password of a new template empty, if it is created from another template with an empty passsword.
Last edit: kibinimatik 2020-03-21
Good idea, thanks! I've implemented this now.
Here's the latest development snapshot for testing:
https://keepass.info/filepool/KeePass_200323.zip
Best regards,
Dominik
Hi, I've been busy and haven't checked this ticket for many months. :-( What's the current status? Has it gone live yet? What syntax did you decide on?
I recommend you check the latest release of KeePass. If you don't find the feature you are looking for, you can post a question detailing what you think is missing.
Thanks for implementing this! Kinda forgot to use templates at all due to this and after all those years :P