Qubes GPG Split for Ubuntu

I’ve just implemented Split GPG for Git and Thunderbird in and love it. I’m using different vaults for each set of keys.

One set of keys I’d like to use on an Ubuntu VM because that’s my development environment for a particular app. Is there a way to install qubes-gpg-split (specifically, qubes-gpg-client) on Ubuntu? I created the Ubuntu template using the Qubes-Builder, so it should be somewhat “official”…

sudo apt install qubes-gpg-split does not work on my Ubuntu VM… is there a way to install from source? Maybe using this: https://github.com/QubesOS/qubes-app-linux-split-gpg/tree/master/debian

I created the Ubuntu template using the Qubes-Builder, so it should
be somewhat “official”…

Then you already have the package but need to serve it up to your
template. When I used to run Ubuntu I did just that.

Then you already have the package but need to serve it up to your
template.

Pardon my ignorance, could you please describe how to do that?

I already have the package on dom0, and when I run the terminal on my ubuntu-template, I can see the qubes-gpg-client command does not work, and I cannot install the package using apt-get install qubes-gpg-split as described in the documentation. So… what steps should I take to serve it up to my template?

Thanks.

It appears posting by email has not worked correctly this time. My original answer had more info in it then what made it into the forum. Let’s try again:

I created the Ubuntu template using the Qubes-Builder, so it should be somewhat “official”…

Then you already have the package but need to serve it up to your
template. When I used to run Ubuntu I did just that.

On 2/14/20 6:07 AM, Unman wrote:

The packages are in qubes-packages-mirror-repo, in the “deb”
directory under vm name. You can indeed just copy them in and
install.

I didn’t just copy but ended up running a webfs and using reprepro to host my own repo so the template would automatically pick up updates. If that’s too much for you, you can always use unman’s repo at https://qubes.3isec.org/

1 Like

Thanks, Sven! Works like a charm! I just went with unman’s method, importing his GPG key with apt-key and then adding deb https://qubes.3isec.org/4.0 bionic main to /etc/apt/sources.list.

Thereafter, I could install qubes-gpg-split on the Ubuntu Template and execute it successfully from an AppVM.

By the way… it seems I can take better advantage of my Ubuntu template with the package/repo you referred me to. Shall I be installing other packages from to better manage my Ubuntu template? Ideally, I would prefer some apt install qubes-template-extras for example…

Simply perusing https://qubes.3isec.org/4.0/dists/bionic/main/binary-amd64/Packages, there appear to be many useful packages listed (e.g., qubes-usb-proxy and qubes-pdf-converter, which I believe are both missing from the “official” Ubuntu template). Shall I just install them one-by-one? Or any recommendations?

Shall I just install them one-by-one? Or any recommendations?

I’d recommend reviewing

This should help you decide.

1 Like

Perfect, thank you, Sven!