Age | Commit message (Collapse) | Author |
|
I found that revelatio2pass.py script doesn't work. It can not decrypt
my password file. I got following error message:
raceback (most recent call last):
File "git/password-store/contrib/importers/revelation2pass.py", line 159, in <module>
main(args.FILE, verbose=args.verbose, xml=args.xml)
File "git/password-store/contrib/importers/revelation2pass.py", line 140, in main
cleardata_gz = decrypt_gz(password, data)
File "git/password-store/contrib/importers/revelation2pass.py", line 117, in decrypt_gz
ct = c.decrypt(cipher_text[28:])
File "/usr/lib/python2.7/site-packages/Crypto/Cipher/blockalgo.py", line 295, in decrypt
return self._cipher.decrypt(ciphertext)
I was unable to fix the problem, but I created a workaround, that add
plain XML import option to the revelation2pass.py script. Revelation can
export its password file as plain XML format.
|
|
|
|
|
|
|
|
This relies on a patched version of tree to work, unfortunately.
Hopefully upstream will accept our patch.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
An importer script for 1Password. It supports 1Password's text exports
(CSV or TSV) and its 1PIF file format (pseudo-JSON). In addition to the passwords
it imports notes, as well as the username and URL which it stores in passff-
compatible format (it can also use either the title or the URL itself as pass-name).
|
|
|
|
Repro steps:
1. In KeePass, add some entries as children of the root node
2. Export the KeePass to foo.xml
3. 'keepass2pass.py -f foo.xml'
Expect: all entries imported
Actual: root-level entries are skipped
|
|
This patch removes several special characters while attempting to preserve
as much meaning in the filename as possible. These changes are made to the
KeepassX title before it is used as a file password store filename:
- Spaces between words in file names are replaced with camelCasing.
- The characters \ | ( ) are each replaced with a hyphen.
- Trailing hypens are removed.
- @ is replaced with "At"
- ' is removed
|
|
|
|
If `PASSWORD_STORE_DIR:-$HOME/.password-store` is a symlink, Zsh throws:
`_values:compvalues:10: not enough arguments`.
Passing `-L` to find(1) fixes this.
|
|
|
|
|
|
slash ('/') characters
|
|
http://revelation.olasagasti.info/
|
|
|
|
- relicensed to GPLv2+
- added -f command-line flag
- added -d DEFAULT_GROUP flag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Only use secret keys
- Use entire UID
- --with-colons makes parsing easy
|
|
Names and email addresses (if present) are included
|
|
|
|
only auto-expand if there is a single completion match
|
|
ampersands, and clean up
|
|
|
|
|
|
|
|
Common git commands, --reencrypt, --force.
|
|
New features:
* command name completion (show,insert,generate,etc)
* `pass init <tab>` will list email addresses from gpg --list-keys
* for 'show' command, if a folder contains a single entry, it will be
auto-completed (recursively!)
The other commands don't do this since you could be adding a new
entry into an existing folder.
* option completion (e.g., --clip)
Note: I turned off "-o filenames" because it was incompatible with the
auto-expansion. So, I instead quote using `printf "%q"` to handle files
with spaces and other odd characters.
|
|
|
|
|
|
Import passwords as multiline entries with password in the first
line. Rest contains following data if they exist in the entry element
of the xml file:
- username
- url
- comment
|
|
|
|
|
|
|
|
|
|
|
|
This should be removed at somepoint in the future. Currently, the
Homebrew people need something to make them happy. This is it.
|
|
|
|
this allows the full entry to be completed with a single tab if there is
only one entry in a folder
e.g., given:
amazon.com
user at domain.com
google.com
user1
user2
`pass am<tab>` -> `pass amazon.com/user at domain.com`
while
`pass goo<tab>` -> `pass google.com/`
(previously, the amazon completion would have stopped at amazon.com
despite only a single entry existing)
|
|
this allows completing password entries without explicitly typing 'show'
|
|
|
|
|