Is there an easier way to handle group passwords with git submodules?

b3yond b3yond at systemli.org
Wed Nov 8 09:39:08 CET 2017


Hello all,

I'm sharing passphrases with some friends, and to be able to sync
passphrases across devices, we set up a git submodule which we can clone
into our respective password-stores.

this has its hiccups though. setting it up works now, after we
documented that you need to do the following:

$ cd ~/.password-store
$ git submodule add server:user/submodule
$ git config push.recurseSubmodules on-demand
$ git submodule init

This could maybe be automated on pass's side, but it works at least.

The real problems arise when I want to add a new passphrase to the git
submodule:

b3yond at ubuntu:~$ pass generate asdf/test 40
fatal: Pathspec '/home/b3yond/.password-store/asdf/test.gpg' is in
submodule 'asdf'
The generated password for asdf/test is:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I can use the test-passphrase, but it isn't pushed to the git server.
Has anybody used pass with git submodules before? do you have any
suggestions how to get it working?

Thanks,
b3yond

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20171108/1fd41bd8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x856E93B1.asc
Type: application/pgp-keys
Size: 3078 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20171108/1fd41bd8/attachment.key>


More information about the Password-Store mailing list