Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Signed check out? #219

Open
kurim opened this issue Jan 26, 2022 · 2 comments
Open

How to Signed check out? #219

kurim opened this issue Jan 26, 2022 · 2 comments

Comments

@kurim
Copy link
Contributor

kurim commented Jan 26, 2022

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?

@HLSiira
Copy link
Member

HLSiira commented Jan 26, 2022

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.

@kurim
Copy link
Contributor Author

kurim commented Jan 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants