[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] implement in-kernel keys & keyring management

    Linus Torvalds <> wrote:
    > If you want to use netlink, do so. But do it from the /sbin/request-key
    > script or binary.

    I've rewritten my example request-key program to get a key holding the
    real key creation program from a key in the user's session key, so that, say,
    a desktop such as KDE could supply a GUI front end.

    So as me, I can do:

    keyctl add user request-key:create /tmp/ @s

    And then:

    keyctl request user metal:copper

    And the request-key program will change to my UID/GID, look around for the a
    key telling it which program to run, and then run my default script.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:05    [W:0.029 / U:31.704 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site