public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/4] keyrings.7: document description restriction for logon keys
@ 2017-09-11  3:11 Eugene Syromyatnikov
       [not found] ` <20170911031112.GA5300-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Syromyatnikov @ 2017-09-11  3:11 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

"logon" type has additional check that enforces colon-separated prefix in key
descriptions.

* man7/keyrings.7 (.SS Key types) <.TP .IR """logon""">: Document
restriction imposed on logon key descriptions.

Signed-off-by: Eugene Syromyatnikov <evgsyr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 man7/keyrings.7 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/man7/keyrings.7 b/man7/keyrings.7
index 6f2581c..9a4478e 100644
--- a/man7/keyrings.7
+++ b/man7/keyrings.7
@@ -142,6 +142,11 @@ operation),
 meaning that the key payload is never visible from user space.
 This is suitable for storing username-password pairs
 that should not be readable from user space.
+.IP
+Key description of a logon key must start with non-empty colon-delimited
+prefix with the purpose to identify the service to which it belongs.
+(contrary to keys of the "user" type, where this practice is recommended
+but is not enforced).
 .TP
 .IR """big_key""" " (since Linux 3.13)"
 .\" commit ab3c3587f8cda9083209a61dbe3a4407d3cada10
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-09-11 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-11  3:11 [PATCH 3/4] keyrings.7: document description restriction for logon keys Eugene Syromyatnikov
     [not found] ` <20170911031112.GA5300-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
2017-09-11 14:25   ` Michael Kerrisk (man-opages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox