[PATCH] Improved naming of files when importing from 1Password

John Franklin franklin at sentaidigital.com
Wed Sep 4 18:59:39 CEST 2019


A follow-on patch to use the hostname in the path so an item named
"jsmith" for website www.example.com or example.com is saved as:

$HOME/.password-store/example.com/jsmith.gpg

Also imports all items in the Passwords column under the Passwords
directory.

jf

On Sat, 2019-08-31 at 11:46 -0400, John Franklin wrote:
> The following patch does the following:
> 
>   Some changes to improve the naming of entries from 1Password:
>   - Use the location as an alternate name, if there is no title
>   - Use 'Untitled' if no reasonable name can be found.
>   - Santize the filename, removing some characters that just cause
> trouble.
>   - Increment a suffix on the filename until we find one that's not
> in
> use.
>   - Rename pass[:name] to pass[:entryName] as there may be a name
> field.
> 
> jf
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/password-store
-- 
John Franklin
franklin at sentaidigital.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1password-urlkey.patch
Type: text/x-patch
Size: 1923 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190904/153a7e2a/attachment.bin>


More information about the Password-Store mailing list