All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/2] Properly label /etc/ssh/ssh_host_ecdsa_key private key
@ 2012-09-12 19:56 Laurent Bigonville
  2012-09-12 19:56 ` [refpolicy] [PATCH 2/2] Add Debian location for ssh-keysign Laurent Bigonville
  2012-09-13 15:40 ` [refpolicy] [PATCH 1/2] Properly label /etc/ssh/ssh_host_ecdsa_key private key Daniel J Walsh
  0 siblings, 2 replies; 8+ messages in thread
From: Laurent Bigonville @ 2012-09-12 19:56 UTC (permalink / raw)
  To: refpolicy

From: Laurent Bigonville <bigon@bigon.be>

Since version 5.7, openssh supports ECDSA keys; properly label the
private key file.
---
 policy/modules/services/ssh.fc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/services/ssh.fc b/policy/modules/services/ssh.fc
index 078bcd7..64b3e11 100644
--- a/policy/modules/services/ssh.fc
+++ b/policy/modules/services/ssh.fc
@@ -3,6 +3,7 @@ HOME_DIR/\.ssh(/.*)?			gen_context(system_u:object_r:ssh_home_t,s0)
 /etc/ssh/primes			--	gen_context(system_u:object_r:sshd_key_t,s0)
 /etc/ssh/ssh_host_key 		--	gen_context(system_u:object_r:sshd_key_t,s0)
 /etc/ssh/ssh_host_dsa_key	--	gen_context(system_u:object_r:sshd_key_t,s0)
+/etc/ssh/ssh_host_ecdsa_key	--	gen_context(system_u:object_r:sshd_key_t,s0)
 /etc/ssh/ssh_host_rsa_key	--	gen_context(system_u:object_r:sshd_key_t,s0)
 
 /usr/bin/ssh			--	gen_context(system_u:object_r:ssh_exec_t,s0)
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-27 19:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-12 19:56 [refpolicy] [PATCH 1/2] Properly label /etc/ssh/ssh_host_ecdsa_key private key Laurent Bigonville
2012-09-12 19:56 ` [refpolicy] [PATCH 2/2] Add Debian location for ssh-keysign Laurent Bigonville
2012-11-04  1:23   ` [refpolicy] [PATCH 2/2 v2] " Laurent Bigonville
2012-11-26 16:13     ` Christopher J. PeBenito
2012-09-13 15:40 ` [refpolicy] [PATCH 1/2] Properly label /etc/ssh/ssh_host_ecdsa_key private key Daniel J Walsh
2012-09-13 16:24   ` Laurent Bigonville
2012-09-13 20:33     ` Daniel J Walsh
2012-11-27 19:21   ` [refpolicy] [PATCH 1/2 v2] Properly label all the ssh host keys Laurent Bigonville

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.