<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<pre wrap="">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 '<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/b3yond<span class="moz-txt-tag">/</span></i>.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</pre>
</body>
</html>