[pass] Possible improvements

Matthew Monaco matt at monaco.cx
Mon Jan 25 20:15:42 CET 2016


Alternatively, ENCRYPT and DECRYPT can also be arrays, you can then call the
command like "${ENCRYPT[@]}". I do this a lot, e.g.:

cmd=(echo "Hello, World!")
printf "Running: %s\n" "${cmd[*]}"
"${cmd[@]}"

On 01/25/2016 12:01 PM, Lenz Weber wrote:
> I'm not 100% but what you are doing will most likely split up GPG_OPTS that
> contain spaces into multiple options. If you want to go that way, use functions.
> 
> Regards,
> Lenz
> 
> Am 25.01.2016 um 19:45 schrieb Dashamir Hoxha:
>> I see that `pass` is more advanced than what I initially thought.
>> It allows several people to have access to passwords, and they
>> all can synchronize through git.
>>
>> So, replacing asymmetric encryption with symmetric encription
>> is not an option. However I still think that *both* of them can be supported,
>> and the user can choose which one is more suitable for him.
>> And actually this will not make the script more complicated,
>> but hopefully simpler.
>>
>> I have already started to work on it. The first step was to factor out
>> the encrypt and decript commands:
>> https://github.com/dashohoxha/password-store/commit/af32b5c8c863a3245b6a3bd752f503f768033361
>> Please check it out, for code review and to make sure that
>> I am not missing something.
>>
>> Thanks,
>> Dashamir
>>
>> On Sun, Jan 24, 2016 at 9:36 PM, Lenz Weber <mail at lenzw.de
>> <mailto:mail at lenzw.de>> wrote:
>>
>>     Or you use two different keys for a directory.
>>
>>
>>     pass init -p subdir keyid1 keyid2
>>
>>     now both people can read it
>>
>>     Am 24.01.2016 um 21:04 schrieb Christoph Egger:
>>     > Hi!
>>     >
>>     > Aleksandr Pasechnik <al at megamicron.net <mailto:al at megamicron.net>> writes:
>>     >> How does the key sharing work?
>>     >
>>     > You can use a different, shared key for some subdirectories
>>     > We're doing this a lot here
>>     >
>>     >   Christoph
>>     > _______________________________________________
>>     > Password-Store mailing list
>>     > Password-Store at lists.zx2c4.com <mailto:Password-Store at lists.zx2c4.com>
>>     > http://lists.zx2c4.com/mailman/listinfo/password-store
>>     >
>>     _______________________________________________
>>     Password-Store mailing list
>>     Password-Store at lists.zx2c4.com <mailto:Password-Store at lists.zx2c4.com>
>>     http://lists.zx2c4.com/mailman/listinfo/password-store
>>
>>
> 
> 
> 
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
> 


More information about the Password-Store mailing list