[pass] Possible improvements

Dashamir Hoxha dashohoxha at gmail.com
Mon Jan 25 20:24:05 CET 2016


On Mon, Jan 25, 2016 at 8:15 PM, Matthew Monaco <matt at monaco.cx> wrote:

> 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[@]}"
>

This seems a bit awkward to me (lots of symbols, not so clean).
But I will have to go with it, ...if neccessary.
However I think that aliases will be OK for our purpose.


>
> 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
> >
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160125/812fa4ba/attachment.html>


More information about the Password-Store mailing list