<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 25, 2016 at 8:01 PM, Lenz Weber <span dir="ltr"><<a href="mailto:mail@lenzw.de" target="_blank">mail@lenzw.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>I'm not 100% but what you are doing
      will most likely split up <span><span><span><span><span>GPG_OPTS that contain spaces into
                multiple options. If you want to go that way, use
                functions.<br></span></span></span></span></span></div></div></blockquote><div><br></div>I think that functions in bash cannot return values (except a return status: 0, 1, etc.)<div>GPG options that contain spaces?! This sounds weird. We can check the manual</div><div>of GPG about it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div><span><span><span><span><span>
                <br>
                Regards,<br>
                Lenz<br>
              </span></span></span></span></span><div><div class="h5"><br>
      Am 25.01.2016 um 19:45 schrieb Dashamir Hoxha:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">I see that `pass` is more advanced than what I
        initially thought.
        <div>It allows several people to have access to passwords, and
          they</div>
        <div>all can synchronize through git.</div>
        <div><br>
        </div>
        <div>So, replacing asymmetric encryption with symmetric
          encription</div>
        <div>is not an option. However I still think that *both* of them
          can be supported,</div>
        <div>and the user can choose which one is more suitable for him.</div>
        <div>And actually this will not make the script more
          complicated,</div>
        <div>but hopefully simpler.</div>
        <div><br>
        </div>
        <div>I have already started to work on it. The first step was to
          factor out</div>
        <div>the encrypt and decript commands:</div>
        <div><a href="https://github.com/dashohoxha/password-store/commit/af32b5c8c863a3245b6a3bd752f503f768033361" target="_blank">https://github.com/dashohoxha/password-store/commit/af32b5c8c863a3245b6a3bd752f503f768033361</a><br>
        </div>
        <div>Please check it out, for code review and to make sure that</div>
        <div>I am not missing something.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Dashamir</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Jan 24, 2016 at 9:36 PM, Lenz
          Weber <span dir="ltr"><<a href="mailto:mail@lenzw.de" target="_blank">mail@lenzw.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Or you use
            two different keys for a directory.<br>
            <br>
            <br>
            pass init -p subdir keyid1 keyid2<br>
            <br>
            now both people can read it<br>
            <div>
              <div><br>
                Am 24.01.2016 um 21:04 schrieb Christoph Egger:<br>
                > Hi!<br>
                ><br>
                > Aleksandr Pasechnik <<a href="mailto:al@megamicron.net" target="_blank">al@megamicron.net</a>>
                writes:<br>
                >> How does the key sharing work?<br>
                ><br>
                > You can use a different, shared key for some
                subdirectories<br>
                > We're doing this a lot here<br>
                ><br>
                >   Christoph<br>
                > _______________________________________________<br>
                > Password-Store mailing list<br>
                > <a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
                > <a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
                ><br>
                _______________________________________________<br>
                Password-Store mailing list<br>
                <a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
                <a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div>