Skip to contentSkip to conversation

apps_gpg.patch

refpolicy Daniel J Walsh 3 participants 6 messages Jun 2, 2010 – Jul 20, 2010

lore
Share & tools
lore
#2 lore raw
Quoted 12 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_gpg.patch

gpg dontaudit leaks.

Merged.

Quoted 1 line

Added policy so apache can execute gpg

I don't understand this part. It seems more like it should be a domain in the apache module instead.

I guess we could go that way, but you need interfaces including gpg_exec_t.

#3 lore raw
Quoted 6 lines · Daniel J Walsh
Quoted 5 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_gpg.patch

gpg dontaudit leaks.

Quoted 8 lines
Quoted 7 lines

Merged.

Quoted 1 line

Added policy so apache can execute gpg

I don't understand this part. It seems more like it should be a domain in the apache module instead.

I guess we could go that way, but you need interfaces including gpg_exec_t.

How is this used? Is it run from a CGI script to check the signature or (en|de)crypt a file?

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 11 lines · Christopher J. PeBenito
Quoted 10 lines · Daniel J Walsh
Quoted 9 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_gpg.patch

gpg dontaudit leaks.

Merged.

Quoted 1 line

Added policy so apache can execute gpg

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

I don't understand this part. It seems more like it should be a domain in the apache module instead.

I guess we could go that way, but you need interfaces including gpg_exec_t.

How is this used? Is it run from a CGI script to check the signature or (en|de)crypt a file?

Yes and Yes, I think.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxEkw0ACgkQrlYvE4MpobP5PQCghfRZmBU9jAJKqInOupTCscKj QbkAoNE0YRTo7HSdry4fyyIG+JGlg+3r
=ObBx
-----END PGP SIGNATURE-----

#5 lore raw
Quoted 31 lines · Daniel J Walsh

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 26 lines · Christopher J. PeBenito
Quoted 11 lines · Daniel J Walsh
Quoted 9 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_gpg.patch

gpg dontaudit leaks.

Merged.

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

Added policy so apache can execute gpg

I don't understand this part. It seems more like it should be a domain in the apache module instead.

I guess we could go that way, but you need interfaces including gpg_exec_t.

How is this used? Is it run from a CGI script to check the signature or (en|de)crypt a file?

Yes, it is run from a CGI script to check the signature or (en|de)crypt a file. Related bug #562083.

We also added the following change

optional_policy(`

      tunable_policy(`httpd_enable_cgi && httpd_use_gpg',`
-        gpg_domtrans(httpd_t)
+       gpg_domtrans_web(httpd_t)
      ')

')

Regards,
Miroslav

Quoted 10 lines

Yes and Yes, I think.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxEkw0ACgkQrlYvE4MpobP5PQCghfRZmBU9jAJKqInOupTCscKj QbkAoNE0YRTo7HSdry4fyyIG+JGlg+3r
=ObBx
-----END PGP SIGNATURE-----