How to use reprepro (or anything really) over ssh?

Andrew Gallagher andrewg at andrewg.com
Tue Mar 10 16:59:02 CET 2020


Hi, all.

I maintain a private debian repository using reprepro. This requires me
to sign updates using a code-signing key, which I keep on my home
machine. I am not always on my home machine of course, meaning I would
like to ssh into it and run reprepro remotely.

This does not work.

reprepro uses gpgme, so it doesn't support `pinentry-mode loopback` (it
crashes if I try). And since I am normally logged in to my home machine,
there is almost guaranteed to be a display active (localhost:0).

Even if I kill all instances of gpg-agent before running reprepro, the
pinentry comes up on :0. Running `ps ax` shows that the pinentry process
is being invoked using `pinentry --display localhost:10.0`, and yet
PINENTRY STILL COMES UP ON :0 WITHOUT FAIL.

Is pinentry ignoring its command line parameters? And how do I get it to
behave? I can only manage this repository when I'm sitting at my home
computer, which is not acceptable.

-- 
Andrew Gallagher

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200310/21c6452b/attachment.sig>


More information about the Gnupg-users mailing list