using a second OpenPGP card

Morten Kjærulff mortenkjarulff at gmail.com
Sat Feb 24 16:44:11 UTC 2024


Hi.

Not sure exactly how, but you should be able to init your store for
both keys. You can then copy both from old to new and new to old. You
can also sync via a git repo.

/Morten
--
I'm a happy dreamer
I believe in love

--
I'm a happy dreamer
I believe in love


On Sat, Feb 24, 2024 at 3:52 PM Morten Kjærulff
<mortenkjarulff at gmail.com> wrote:
>
> Hi.
>
> Not sure exactly how, but you should be able to init you store for both keys. You can then copy both from old to new and new to old. You can also sync via a git repo.
>
> /Morten
> --
> I'm a happy dreamer
> I believe in love
>
> On Sat, Feb 24, 2024, 12:37 Matthias Apitz <guru at unixarea.de> wrote:
>>
>>
>> Hello,
>>
>> I hope I'm right here with my question...
>>
>> I do use password-store for some years together with an OpenPGP card in
>> my Linux cellphone (Purism L5) with a tree of some 300 credentials. I
>> acquired a second OpenPGP card and will set it up in my second L5 and
>> want to use the same credential there by just copy over the
>> ~/.password-store with SCP from one L5 to the other.
>>
>> I read in the man page pass(1) that when I run
>>
>> $ pass init 2nd-openpgp-key
>>
>> it will detect that the new key differs from the old one (stored in
>> ~/.password-store/.gpg-id) and will reencrypt all files with the new
>> key.
>>
>> This is the point which raises questions in me:
>>
>> 1)
>> pass (i.e. gnupg) for sure can't decrypt the files, because the
>> first key sits in the other phone. What means 'reencrypt' exactly? How
>> does this work?
>>
>> 2)
>> After having done this 'reencrypt' of the tree in phone 2, can I SCP
>> back the tree to the phone 1 and use it there?
>>
>> Thanks in advance for enlighten me a bit and overall thanks for this
>> perfect tool.
>>
>>         matthias
>>
>> --
>> Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
>> Public GnuPG key: http://www.unixarea.de/key.pub


More information about the Password-Store mailing list