New Post: OpenPGP in Your Pocket

Create Password store (with TOMB) on Laptop (tested on Debian)

su -
apt install pass-extension-tomb
adduser [Username] sudo
exit

Reboot to take effect

sudo swapoff -a
gpg --list-keys
pass tomb [gpg-id] -v -d

Workaround if error: cryptsetup luksFormat returned an error.

You need to remove the already generated .password.tomb
rm -rf .password.tomb*

Then you need to add “–type luks1” in tomb when the “cryptsetup” is called
sudo vi /usr/bin/tomb
/_cryptsetup(
sudo cryptsetup --type luks1 --key-file - ${@}

Copy the password store to the Librem5

apt install pass-extension-tomb

The following two files need to be copied to the librem5
~/.password.tomb
~/.password.tomb.key

Use a GUI for managing the passwords (optional)

On Matrix I read about another GUI for “pass” also writen in python but currently without support for pass-tomb.
I haven’t tested the other GUI and don’t have a link to it. But maybe some one can post it.

4 Likes