marcwebbie / passpie

:closed_lock_with_key: Multiplatform command-line password manager
http://passpie.readthedocs.org/
MIT License
921 stars 68 forks source link

High verbosity and unaddable credentials #88

Closed Aluriak closed 6 years ago

Aluriak commented 8 years ago

I tried passpie (with python3). Here is my session:

michel@host:~➤ python --version
Python 3.5.1
michel@host:~➤ passpie init   
<passpie.process.Proc object at 0x7ff1d9825780>
<passpie.process.Proc object at 0x7ff1d5ec1d30>
Passphrase: 
Repeat for confirmation: 
<passpie.process.Proc object at 0x7ff1d5ec19b0>
<passpie.process.Proc object at 0x7ff1d5ee3240>
<passpie.process.Proc object at 0x7ff1d5ee3208>
<passpie.process.Proc object at 0x7ff1d5ec1b70>
<passpie.process.Proc object at 0x7ff1d5ec1b70>
<passpie.process.Proc object at 0x7ff1d5ec1b70>
Initialized database in /home/michel/.passpie
michel@host:~➤ passpie search test
<passpie.process.Proc object at 0x7f8f6cbaabe0>
<passpie.process.Proc object at 0x7f8f704bd7b8>
<passpie.process.Proc object at 0x7f8f6cb5c668>
<passpie.process.Proc object at 0x7f8f6cb5c780>
michel@host:~➤ passpie add toto@test
<passpie.process.Proc object at 0x7f34e3e36780>
<passpie.process.Proc object at 0x7f34e3e21b38>
<passpie.process.Proc object at 0x7f34e04d49b0>
<passpie.process.Proc object at 0x7f34e04d4828>
Password: 
Aborted!
michel@host:~➤ passpie add toto@test --pattern '[a-zA-Z]{15}'
<passpie.process.Proc object at 0x7fd0eaa81588>
<passpie.process.Proc object at 0x7fd0eaa81588>
<passpie.process.Proc object at 0x7fd0ea9f1dd8>
<passpie.process.Proc object at 0x7fd0ea9f1828>
michel@host:~➤ passpie search test                              
<passpie.process.Proc object at 0x7fd86b06ebe0>
<passpie.process.Proc object at 0x7fd86e9817b8>
<passpie.process.Proc object at 0x7fd86b01f898>
<passpie.process.Proc object at 0x7fd86b01f6a0>
michel@host:~➤ passpie copy toto@test
<passpie.process.Proc object at 0x7fba5afbd3c8>
<passpie.process.Proc object at 0x7fba573cd5c0>
<passpie.process.Proc object at 0x7fba5733c668>
<passpie.process.Proc object at 0x7fba5733c7f0>
Passphrase: 
<passpie.process.Proc object at 0x7fba5733c9b0>
<passpie.process.Proc object at 0x7fba5733cbe0>
Error: Credential 'toto@test' not found
michel@host:~➤ passpie log              
<passpie.process.Proc object at 0x7feef678d780>
<passpie.process.Proc object at 0x7feef6778b38>
<passpie.process.Proc object at 0x7feef2e2cdd8>
<passpie.process.Proc object at 0x7feef2e2c978>
<passpie.process.Proc object at 0x7feef2e2c9e8>
[0] Initialized git repository
michel@host:~➤ passpie add toto@test --pattern '[a-zA-Z]{15}'
<passpie.process.Proc object at 0x7f050ccad588>
<passpie.process.Proc object at 0x7f050ccad588>
<passpie.process.Proc object at 0x7f050cc1ddd8>
<passpie.process.Proc object at 0x7f050cc1d668>
michel@host:~➤ passpie add tutu/toto --pattern '[a-zA-Z]{15}'
<passpie.process.Proc object at 0x7f958a088588>
<passpie.process.Proc object at 0x7f958a088588>
<passpie.process.Proc object at 0x7f9589ff87f0>
<passpie.process.Proc object at 0x7f9589ff8828>
michel@host:~➤ passpie search tutu
<passpie.process.Proc object at 0x7fd0a22aa3c8>
<passpie.process.Proc object at 0x7fd09e6ba5c0>
<passpie.process.Proc object at 0x7fd09e629e10>
<passpie.process.Proc object at 0x7fd09e6296a0>
michel@host:~➤ passpie
<passpie.process.Proc object at 0x7fdb57a18ac8>
<passpie.process.Proc object at 0x7fdb57a18ac8>
<passpie.process.Proc object at 0x7fdb540cc5f8>
<passpie.process.Proc object at 0x7fdb540cc7f0>
michel@host:~➤ passpie copy tutu
<passpie.process.Proc object at 0x7f2e0fe633c8>
<passpie.process.Proc object at 0x7f2e0c2735c0>
<passpie.process.Proc object at 0x7f2e0c1e2e10>
<passpie.process.Proc object at 0x7f2e0c1e26a0>
Passphrase: 
<passpie.process.Proc object at 0x7f2e0c1e26d8>
<passpie.process.Proc object at 0x7f2e0c1e2cc0>
Error: Credential 'tutu' not found
michel@host:~➤ passpie copy tutu/toto
<passpie.process.Proc object at 0x7fc111df1588>
<passpie.process.Proc object at 0x7fc111df1588>
<passpie.process.Proc object at 0x7fc111d60dd8>
<passpie.process.Proc object at 0x7fc111d60668>
Passphrase: 
<passpie.process.Proc object at 0x7fc111d609e8>
<passpie.process.Proc object at 0x7fc111d60978>
Error: Credential 'tutu/toto' not found
michel@host:~➤ passpie                  
<passpie.process.Proc object at 0x7fed2bc47550>
<passpie.process.Proc object at 0x7fed2bc47550>
<passpie.process.Proc object at 0x7fed2bbb3748>
<passpie.process.Proc object at 0x7fed2bbb3780>

Now let's try with dinopython instead:

michel@host:~➤ python2 --version
Python 2.7.11
michel@host:~➤ sudo pip uninstall passpie
[...]
  Successfully uninstalled passpie-1.2.0
michel@host:~➤ sudo pip2 install passpie
[...]
Successfully installed PyYAML-3.11 click-6.2 passpie-1.2.0 rstr-2.2.3 tabulate-0.7.5 tinydb-3.1.2
michel@host:~➤ passpie
michel@host:~➤ passpie add tutu/toto --pattern '[a-zA-Z]{15}'
michel@host:~➤ passpie add tutu/reselsif                        
Password: 
Repeat for confirmation: 
michel@host:~➤ passpie
michel@host:~➤ passpie log
[0] Initialized git repository

Here is my .passpierc:

path: /home/michel/.passpie
homedir: /home/michel/.gnupg
copy_timeout: 10
genpass_pattern: "[a-zA-Z0-9-_+=*&%$#]{15}"
repo: true
short_commands: false
status_repeated_passwords_limit: 5

Here are various soft output about versions:

michel@host:~➤ uname -a
Linux host 4.1.16-1-MANJARO #1 SMP PREEMPT Sat Jan 23 22:11:35 UTC 2016 x86_64 GNU/Linux
michel@host:~➤ python --version
Python 3.5.1
michel@host:~➤ python2 --version
Python 2.7.11
michel@host:~➤ gpg --version
gpg (GnuPG) 2.1.10
libgcrypt 1.6.4
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Algorithmes pris en charge :
Clef publique : RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Chiffrement : IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256,
              TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256
Hachage : SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression : Non compressé, ZIP, ZLIB, BZIP2

Here are my problems:

Have i missed something in doc about configuration ? Thank you for help !

marcwebbie commented 8 years ago

Actually python3 genpass is not working on python 3.5+. This is a upstream bug on https://pypi.python.org/pypi/rstr/2.1.3

I am investigating possible solutions for this issue. Thanks for contributing

marcwebbie commented 6 years ago

Closing this for now, looking for solutions that work on the next major version