Skip to content
Snippets Groups Projects
  1. Apr 17, 2014
    • Javali's avatar
      revelation2pass: add plain XML import · 1763e2d0
      Javali authored
      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.
      1763e2d0
    • Jason A. Donenfeld's avatar
      platform: add cygwin support · 3f6b8a20
      Jason A. Donenfeld authored
      According to Brandon Jones, all we need to do is adjust /dev/clipboard
      from xclip. So we add a platform specific file to do so.
      http://www.relaytheurgency.com/2014/04/pass-in-cygwin-relatively-simple.html
      
      
      
      Suggested-by: default avatarBrandon Jones <jones.brandon.lee@gmail.com>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      3f6b8a20
  2. Apr 16, 2014
  3. Apr 15, 2014
  4. Apr 14, 2014
  5. Apr 13, 2014
    • Tobias V. Langhoff's avatar
      Importer for 1Password · 43e7752e
      Tobias V. Langhoff authored
      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).
      43e7752e
  6. Apr 12, 2014
    • Jason A. Donenfeld's avatar
      Use pipefail and randomize intermediate encrypted. · 2eaca825
      Jason A. Donenfeld authored
      
      Matthew writes:
      
          If the initial decrypt fails then the rest of the line shouldn't
          continue, as it won't be a properly decrypted password being
          re-encrypted and written over the existing passfile.
      
          One solution to this would be to enable pipefail (set -o pipefail) -
          either just before, or at the start of this script.  This would
          cause the failure of any of the commands in a pipe to set the return
          status of the whole pipeline to non-zero (the last failed command's
          return code is used).
      
      We take his suggestion with this patch. While we're at it, we take a
      little bit extra care (though not too much extra care) to select a more
      random intermediate password, in case folks have a strange habit of
      using a dot-new extension on files.
      
      Suggested-by: default avatarMatthew Richardson <m.richardson@ed.ac.uk>
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
  7. Apr 07, 2014
  8. Apr 06, 2014
  9. Apr 05, 2014
  10. Mar 24, 2014
  11. Mar 23, 2014
  12. Mar 22, 2014
  13. Mar 20, 2014
    • Erik Mackdanz's avatar
      Keepass import should include root-level entries · 9be03f76
      Erik Mackdanz authored
      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
      9be03f76
Loading