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@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

Attachment: 0x856E93B1.asc
Description: application/pgp-keys

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to