gpg: public key signature verification in evolution
PATCH 1/1 gpg: public key signature verification in evolution
Let gpg verify public key signatures in the evolution mail client application.
--- policy/modules/contrib/evolution.if | 21 +++++++++++++++++++++ policy/modules/contrib/gpg.te | 4 ++++ 2 files changed, 25 insertions(+)
policy/modules/contrib/evolution.if +21 -0
@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',` ######################################## ## <summary> +## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_t',` + gen_require(` + type evolution_orbit_tmp_t; + ') + + files_search_tmp($1) + read_files_pattern($1, evolution_orbit_tmp_t, evolution_orbit_tmp_t) +') + + +######################################## +## <summary> ## Send and receive messages from ## evolution over dbus. ## </summary>
policy/modules/contrib/gpg.te +4 -0
@@ -147,6 +147,10 @@ tunable_policy(`use_samba_home_dirs',` ') optional_policy(` + evolution_read_orbit_tmp_t(gpg_t) + ') + +optional_policy(` gnome_read_generic_home_content(gpg_t) gnome_stream_connect_all_gkeyringd(gpg_t) ')
PATCH 1/1 gpg: public key signature verification in evolution
Quoted 14 lines · Guido Trentalancia via refpolicy
Let gpg verify public key signatures in the evolution mail client application.
Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/evolution.if | 21 +++++++++++++++++++++ policy/modules/contrib/gpg.te | 4 ++++ 2 files changed, 25 insertions(+)policy/modules/contrib/evolution.if +0
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',` ######################################## ## <summary>
policy/modules/contrib/evolution.if interface(`evolution_stream_connect',` · line 140
Quoted 10 lines
policy/modules/contrib/evolution.if +10
-0+## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_t',`
evolution_read_orbit_tmp_files()
Signature · 1 line
Chris PeBenito
PATCH 1/1 gpg: public key signature verification in evolution
Quoted 13 lines · Chris PeBenito via refpolicy
Quoted 12 lines · Guido Trentalancia via refpolicy
Let gpg verify public key signatures in the evolution mail client application.
Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/evolution.if | 21 +++++++++++++++++++++ policy/modules/contrib/gpg.te | 4 ++++ 2 files changed, 25 insertions(+)policy/modules/contrib/evolution.if +0
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',`
Quoted 16 lines
policy/modules/contrib/evolution.if interface(`evolution_stream_connect',` · line 140
Quoted 12 lines
policy/modules/contrib/evolution.if +10
-0######################################## ## <summary> +## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_t',`
evolution_read_orbit_tmp_files()
You dont have to mention "orbit" at all. There are only sockets in orbit, and push comes to show that's just a evolution socket. This file is outside of orbit and so it have nothing to do with orbit
so i would just use evolution_read_tmp_files()
however eventually it probably need rw instead of r, For example when you sign emails.
Signature · 11 lines
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20160902/6b43ccf9/attachment.bin
PATCH 1/1 gpg: public key signature verification in evolution
Hello Dominick.
Quoted 42 lines · Dominick Grift via refpolicy
Quoted 19 lines · Chris PeBenito via refpolicy
Quoted 17 lines · Guido Trentalancia via refpolicy
Let gpg verify public key signatures in the evolution mail client application.
Signed-off-by Guido Trentalancia <[email protected]>---
?policy/modules/contrib/evolution.if |???21 +++++++++++++++++++++ ?policy/modules/contrib/gpg.te???????|????4 ++++
?2 files changed, 25 insertions(+)--- refpolicy-git-06082016-
orig/policy/modules/contrib/evolution.if 2016-08-06
21:27:11.349094280 +0200
+++ refpolicy-git-06082016/policy/modules/contrib/evolution.if2016-09-01 15:33:27.072148930 +0200(quoted diff) +0
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',`Quoted 16 lines
policy/modules/contrib/evolution.if interface(`evolution_stream_connect',` · line 140
Quoted 12 lines
?########################################
?## <summary>policy/modules/contrib/evolution.if +10
-0+## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_t',`
evolution_read_orbit_tmp_files()You dont have to mention "orbit" at all. There are only sockets in orbit, and push comes to show that's just a evolution socket. This file
is outside of orbit and so it have nothing to do with orbit
Quoted 4 lines
so i would just use
evolution_read_tmp_files()however eventually it probably need rw instead of r, For example when you sign emails.
Let's try to sign this message and see if it also requires write permissions...
Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20160902/8b95c9e6/attachment-0001.bin
PATCH 1/1 gpg: public key signature verification in evolution
Quoted 45 lines · Guido Trentalancia
Hello Dominick.
Quoted 42 lines · Dominick Grift via refpolicy
Quoted 19 lines · Chris PeBenito via refpolicy
Quoted 17 lines · Guido Trentalancia via refpolicy
Let gpg verify public key signatures in the evolution mail client application.
Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/evolution.if | 21 +++++++++++++++++++++ policy/modules/contrib/gpg.te | 4 ++++ 2 files changed, 25 insertions(+)--- refpolicy-git-06082016-
orig/policy/modules/contrib/evolution.if 2016-08-06
21:27:11.349094280 +0200
+++ refpolicy-git-06082016/policy/modules/contrib/evolution.if2016-09-01 15:33:27.072148930 +0200(quoted diff) +0
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',`Quoted 16 lines
policy/modules/contrib/evolution.if interface(`evolution_stream_connect',` · line 140
Quoted 12 lines
policy/modules/contrib/evolution.if +10
-0######################################## ## <summary> +## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_t',`
evolution_read_orbit_tmp_files()You dont have to mention "orbit" at all. There are only sockets in orbit, and push comes to show that's just a evolution socket. This file
is outside of orbit and so it have nothing to do with orbit
Quoted 8 lines
Quoted 4 lines
so i would just use
evolution_read_tmp_files()however eventually it probably need rw instead of r, For example when you sign emails.
Let's try to sign this message and see if it also requires write permissions...
is that PGP/MIME or in-line signing? I dont use evolution so not sure if it even support in-line signatures or PGP/MIME
Either way, would be easy enough to adjust if and when someone needs it
I still don't like the reference to orbit though
Quoted 2 lines
Guido
Signature · 11 lines
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20160902/56c5ec4d/attachment.bin
PATCH 1/1 gpg: public key signature verification in evolution
Quoted 49 lines · Dominick Grift
Quoted 48 lines · Guido Trentalancia
Hello Dominick.
Quoted 43 lines · Dominick Grift via refpolicy
Quoted 40 lines · Chris PeBenito via refpolicy
Quoted 23 lines · Guido Trentalancia via refpolicy
Let gpg verify public key signatures in the evolution mail client
application.Signed-off-by Guido Trentalancia <[email protected]>---
?policy/modules/contrib/evolution.if |???21
+++++++++++++++++++++
?policy/modules/contrib/gpg.te???????|????4 ++++
?2 files changed, 25 insertions(+)--- refpolicy-git-06082016-
orig/policy/modules/contrib/evolution.if 2016-08-06
21:27:11.349094280 +0200
+++ refpolicy-git-
06082016/policy/modules/contrib/evolution.if2016-09-01 15:33:27.072148930 +0200(quoted diff) +0
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',`?########################################
?## <summary>policy/modules/contrib/evolution.if interface(`evolution_stream_connect',` · line 140
Quoted 10 lines
policy/modules/contrib/evolution.if +10
-0+## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_t',`
evolution_read_orbit_tmp_files()
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
You dont have to mention "orbit" at all. There are only sockets in
orbit, and push comes to show that's just a evolution socket. This
file
is outside of orbit and so it have nothing to do with orbitso i would just use
evolution_read_tmp_files()
There are different types of evolution temporary files, so it is necessary to distinguish amongst them.
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
however eventually it probably need rw instead of r, For example when
you sign emails.Let's try to sign this message and see if it also requires write permissions...
It doesn't require write permissions, as it is evident in the new version of the patch.
Quoted 3 lines
is that PGP/MIME or in-line signing? I dont use evolution so not sure if
it even support in-line signatures or PGP/MIME
It's PGP signing. SMIME signing does not use gpg.
Quoted 2 lines
Either way, would be easy enough to adjust if and when someone needs it
It works as it is, without write permissions on that temporary file. There is nothing to adjust.
Quoted 1 line
I still don't like the reference to orbit though
See above (different types of temporary files).
Originally I typed a wrong name by mistake (you know, copy and paste the type name).
I have now amended the name, as kindly suggested by Christopher. See version 2.
Regards,
Guido
PATCH 1/1 gpg: public key signature verification in evolution
Quoted 69 lines · Guido Trentalancia via refpolicy
Quoted 49 lines · Dominick Grift
Quoted 48 lines · Guido Trentalancia
Hello Dominick.
Quoted 43 lines · Dominick Grift via refpolicy
Quoted 40 lines · Chris PeBenito via refpolicy
Quoted 23 lines · Guido Trentalancia via refpolicy
Let gpg verify public key signatures in the evolution mail client
application.Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/evolution.if | 21 +++++++++++++++++++++ policy/modules/contrib/gpg.te | 4 ++++ 2 files changed, 25 insertions(+)--- refpolicy-git-06082016-
orig/policy/modules/contrib/evolution.if 2016-08-06
21:27:11.349094280 +0200
+++ refpolicy-git-
06082016/policy/modules/contrib/evolution.if2016-09-01 15:33:27.072148930 +0200policy/modules/contrib/evolution.if +0
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',` ######################################## ## <summary>policy/modules/contrib/evolution.if interface(`evolution_stream_connect',` · line 140
Quoted 10 lines
policy/modules/contrib/evolution.if +10
-0+## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_t',`
evolution_read_orbit_tmp_files()Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
You dont have to mention "orbit" at all. There are only sockets in
orbit, and push comes to show that's just a evolution socket. This
file
is outside of orbit and so it have nothing to do with orbitso i would just use
evolution_read_tmp_files()There are different types of evolution temporary files, so it is necessary to distinguish amongst them.
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
however eventually it probably need rw instead of r, For example when
you sign emails.Let's try to sign this message and see if it also requires write permissions...
Quoted 9 lines
It doesn't require write permissions, as it is evident in the new version of the patch.
Quoted 3 lines
is that PGP/MIME or in-line signing? I dont use evolution so not sure if
it even support in-line signatures or PGP/MIMEIt's PGP signing. SMIME signing does not use gpg.
I think there is a misunderstanding PGP/MIME will (AFAIK) attach the signature in a separate file whereas in-line signing adds the signature to the actual message instead.
Anyhow no big deal.
Quoted 8 lines
Quoted 2 lines
Either way, would be easy enough to adjust if and when someone needs it
It works as it is, without write permissions on that temporary file. There is nothing to adjust.
Quoted 1 line
I still don't like the reference to orbit though
Quoted 8 lines
See above (different types of temporary files).
Originally I typed a wrong name by mistake (you know, copy and paste the type name).
I have now amended the name, as kindly suggested by Christopher. See version 2.
Okay, that is not what i was referring to but fine.
Quoted 8 lines
Regards,
Guido
_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy
Signature · 11 lines
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20160902/bc776eec/attachment.bin
PATCH 1/1 gpg: public key signature verification in evolution
Hello Dominick.
Quoted 3 lines · Dominick Grift via refpolicy
Quoted 2 lines · Guido Trentalancia via refpolicy
On Fri, 02/09/2016 at 15.48 +0200, Dominick Grift wrote:
[...]
Quoted 18 lines
Quoted 18 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
however eventually it probably need rw instead of r, For example
when
you sign emails.Let's try to sign this message and see if it also requires write
permissions...It doesn't require write permissions, as it is evident in the new version of the patch.
Quoted 5 lines
is that PGP/MIME or in-line signing? I dont use evolution so not sure
if
it even support in-line signatures or PGP/MIME
Quoted 7 lines
Quoted 2 lines
It's PGP signing. SMIME signing does not use gpg.
I think there is a misunderstanding PGP/MIME will (AFAIK) attach the signature in a separate file whereas in-line signing adds the signature
to the actual message instead.
Yes, it's openPGP/MIME. The same as in your messages.
I have signed this message too, so that you can check.
Quoted 1 line
Anyhow no big deal.
Regards,
Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20160902/c17a6ae8/attachment.bin
PATCH 1/1 gpg: public key signature verification in evolution
Quoted 30 lines · Guido Trentalancia via refpolicy
Hello Dominick.
Quoted 3 lines · Dominick Grift via refpolicy
Quoted 2 lines · Guido Trentalancia via refpolicy
On Fri, 02/09/2016 at 15.48 +0200, Dominick Grift wrote:
[...]
Quoted 21 lines
Quoted 20 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
however eventually it probably need rw instead of r, For example
when
you sign emails.Let's try to sign this message and see if it also requires write
permissions...It doesn't require write permissions, as it is evident in the new version of the patch.
Quoted 5 lines
is that PGP/MIME or in-line signing? I dont use evolution so not sure
if
it even support in-line signatures or PGP/MIMEIt's PGP signing. SMIME signing does not use gpg.
Quoted 6 lines
Quoted 4 lines
I think there is a misunderstanding PGP/MIME will (AFAIK) attach the signature in a separate file whereas in-line signing adds the signature
to the actual message instead.Yes, it's openPGP/MIME. The same as in your messages.
Okay fine, I think it might need read/write if one encloses signatures in mail messages in-line
Quoted 16 lines
I have signed this message too, so that you can check.
Quoted 1 line
Anyhow no big deal.
Regards,
Guido
_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy
Signature · 11 lines
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20160902/e2646f2f/attachment.bin
PATCH 1/1 gpg: public key signature verification in evolution
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 1 line · Dominick Grift via refpolicy
On 09/02/2016 05:02 PM, Guido Trentalancia via refpolicy wrote:
[...]
Quoted 30 lines
Quoted 30 lines
Quoted 29 lines
Quoted 15 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
however eventually it probably need rw instead of r, For example
when
you sign emails.Let's try to sign this message and see if it also requires write
permissions...It doesn't require write permissions, as it is evident in the new
version of the patch.Quoted 2 lines
Quoted 8 lines
Quoted 5 lines
is that PGP/MIME or in-line signing? I dont use evolution so not
sure
if
it even support in-line signatures or PGP/MIMEIt's PGP signing. SMIME signing does not use gpg.
I think there is a misunderstanding PGP/MIME will (AFAIK) attach the
signature in a separate file whereas in-line signing adds the signature
to the actual message instead.
Quoted 5 lines
Quoted 1 line
Yes, it's openPGP/MIME. The same as in your messages.
Okay fine, I think it might need read/write if one encloses signatures
in mail messages in-line
This one seems to be difficult...
It doesn't need the write permission for signing messages, whatever signing method you choose.
It only needs read permissions for signing messages !
Guido
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iF4EAREIAAYFAlfJmz4ACgkQdvBbOlZ5jsk2+gEAjsXkVGF12qs6iGnqhaISsNbf a/d7+BRBJG6MGJQATvMBAL2vj7fIhPeo7NYegTfliAIhPPKMPTjA/1dUJm57HkE7 =R0KM
-----END PGP SIGNATURE-----
PATCH 1/1 gpg: public key signature verification in evolution
Quoted 41 lines · Guido Trentalancia via refpolicy
Quoted 1 line · Dominick Grift via refpolicy
On 09/02/2016 05:02 PM, Guido Trentalancia via refpolicy wrote:
[...]
Quoted 30 lines
Quoted 30 lines
Quoted 29 lines
Quoted 15 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
however eventually it probably need rw instead of r, For example
when
you sign emails.Let's try to sign this message and see if it also requires write
permissions...It doesn't require write permissions, as it is evident in the new
version of the patch.Quoted 2 lines
Quoted 8 lines
Quoted 5 lines
is that PGP/MIME or in-line signing? I dont use evolution so not
sure
if
it even support in-line signatures or PGP/MIMEIt's PGP signing. SMIME signing does not use gpg.
I think there is a misunderstanding PGP/MIME will (AFAIK) attach the
signature in a separate file whereas in-line signing adds the signature
to the actual message instead.Quoted 5 lines
Quoted 1 line
Yes, it's openPGP/MIME. The same as in your messages.
Okay fine, I think it might need read/write if one encloses signatures
in mail messages in-line
Quoted 7 lines
This one seems to be difficult...
It doesn't need the write permission for signing messages, whatever signing method you choose.
It only needs read permissions for signing messages !
Okay, at least we now know.
Quoted 7 lines
Guido
_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy
Signature · 11 lines
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20160902/56abf458/attachment-0001.bin
PATCH v2 1/1 gpg: public key signature verification in evolution
In reply to Chris PeBenitoLet gpg verify public key signatures in the evolution mail client application.
It doesn't need write permissions on such files for signing/encrypting messages.
--- policy/modules/contrib/evolution.if | 21 +++++++++++++++++++++ policy/modules/contrib/gpg.te | 4 ++++ 2 files changed, 25 insertions(+)
policy/modules/contrib/evolution.if +21 -0
@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',` ######################################## ## <summary> +## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_files',` + gen_require(` + type evolution_orbit_tmp_t; + ') + + files_search_tmp($1) + read_files_pattern($1, evolution_orbit_tmp_t, evolution_orbit_tmp_t) +') + + +######################################## +## <summary> ## Send and receive messages from ## evolution over dbus. ## </summary>
policy/modules/contrib/gpg.te +4 -0
@@ -147,6 +147,10 @@ tunable_policy(`use_samba_home_dirs',` ') optional_policy(` + evolution_read_orbit_tmp_files(gpg_t) + ') + +optional_policy(` gnome_read_generic_home_content(gpg_t) gnome_stream_connect_all_gkeyringd(gpg_t) ')
PATCH v2 1/1 gpg: public key signature verification in evolution
Hello Christopher !
For some strage reason, I believe this patch has not been applied yet.
Could you please double-check ?
Best regards,
Guido
Quoted 64 lines · Guido Trentalancia via refpolicy
Let gpg verify public key signatures in the evolution mail client application.
It doesn't need write permissions on such files for signing/encrypting messages.
Signed-off-by Guido Trentalancia <[email protected]>---
?policy/modules/contrib/evolution.if |???21 +++++++++++++++++++++ ?policy/modules/contrib/gpg.te???????|????4 ++++
?2 files changed, 25 insertions(+)--- refpolicy-git-06082016-orig/policy/modules/contrib/evolution.if
2016-08-06 21:27:11.349094280 +0200 +++ refpolicy-git-06082016/policy/modules/contrib/evolution.if 2016-09-01 15:33:27.072148930 +0200(quoted diff) +0
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',`?
?########################################
?## <summary>policy/modules/contrib/evolution.if +16
-0+## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_files',` + gen_require(` + type evolution_orbit_tmp_t; + ') + + files_search_tmp($1) + read_files_pattern($1, evolution_orbit_tmp_t,
evolution_orbit_tmp_t)
+')policy/modules/contrib/evolution.if +4
-0+ + +######################################## +## <summary>?## Send and receive messages from
?## evolution over dbus.
?## </summary>
--- refpolicy-git-06082016-orig/policy/modules/contrib/gpg.te2016-08-06 21:27:11.355094349 +0200+++ refpolicy-git-06082016/policy/modules/contrib/gpg.te 2016-
09-01 15:34:13.366784842 +0200(quoted diff) +0
-0@@ -147,6 +147,10 @@ tunable_policy(`use_samba_home_dirs',` ?')?
?optional_policy(`policy/modules/contrib/gpg.te +4
-0+ evolution_read_orbit_tmp_files(gpg_t) + ') + +optional_policy(`?
gnome_read_generic_home_content(gpg_t)
?gnome_stream_connect_all_gkeyringd(gpg_t)
?')
_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy
Signature · 4 lines
This message contains confidential information intended only for the use of the addressee(s). If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
PATCH v2 1/1 gpg: public key signature verification in evolution
Quoted 5 lines · Guido Trentalancia
Hello Christopher !
For some strage reason, I believe this patch has not been applied yet.
Could you please double-check ?
Sorry about that, it's merged now.
Quoted 61 lines · Guido Trentalancia via refpolicy
Quoted 60 lines
Let gpg verify public key signatures in the evolution mail client application.
It doesn't need write permissions on such files for signing/encrypting messages.
Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/evolution.if | 21 +++++++++++++++++++++ policy/modules/contrib/gpg.te | 4 ++++ 2 files changed, 25 insertions(+)--- refpolicy-git-06082016-orig/policy/modules/contrib/evolution.if
2016-08-06 21:27:11.349094280 +0200 +++ refpolicy-git-06082016/policy/modules/contrib/evolution.if 2016-09-01 15:33:27.072148930 +0200policy/modules/contrib/evolution.if +21
-0@@ -128,6 +128,27 @@ interface(`evolution_stream_connect',` ######################################## ## <summary> +## Read evolution orbit temporary +## files. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`evolution_read_orbit_tmp_files',` + gen_require(` + type evolution_orbit_tmp_t; + ') + + files_search_tmp($1) + read_files_pattern($1, evolution_orbit_tmp_t, evolution_orbit_tmp_t) +') + + +######################################## +## <summary> ## Send and receive messages from ## evolution over dbus.## </summary>
--- refpolicy-git-06082016-orig/policy/modules/contrib/gpg.te2016-08-06 21:27:11.355094349 +0200+++ refpolicy-git-06082016/policy/modules/contrib/gpg.te 2016-
09-01 15:34:13.366784842 +0200policy/modules/contrib/gpg.te +4
-0@@ -147,6 +147,10 @@ tunable_policy(`use_samba_home_dirs',` ') optional_policy(` + evolution_read_orbit_tmp_files(gpg_t) + ') + +optional_policy(` gnome_read_generic_home_content(gpg_t) gnome_stream_connect_all_gkeyringd(gpg_t) ')
Signature · 1 line
Chris PeBenito