Atheos icon indicating copy to clipboard operation
Atheos copied to clipboard

How to Signed check out?

Open kurim opened this issue 3 years ago • 2 comments

How to Signed check out?

Since Atheos runs under www-data where you can't login how can I add the gnuGPG to it for signed commit?

kurim avatar Jan 26 '22 19:01 kurim

www-data still has a home folder. For Debian, it looks like it's under /var/www for me. I usually do something like sudo -u www-data ls ~ to find out where it is.

HLSiira avatar Jan 26 '22 20:01 HLSiira

Thanks, the main issue was that gpg does not work through shell with another user as owner.

  1. ls -l $(tty)
  2. chown www-data /dev/pts/0
  3. sudo -u www-data gpg --full-generate-key Found it here

ok now i create a the GPG key but signing does not work, since there is no option to enter the passphrase for the key.

W/o pw it works...

may be there is a way

kurim avatar Jan 26 '22 22:01 kurim