Menu

#184 [document]: Passing pam handle securely

feature-request
open-accepted
4
2002-07-11
2002-03-09
No

Re application developer's guide, version DRAFT v0.75
2001/03/18

In the sections "Session initialization" and
"Terminating sessions", it would be useful to have a
discussion of ways to securely pass the PAM handle to
the code which terminates the PAM session.

All that is required is enough information for the
application developer to do a google-search for precise
methods - a list of keywords to search on would be enough.

Thank you

Jenn V.

Discussion

  • Jenn Vesperman

    Jenn Vesperman - 2002-03-10

    Logged In: YES
    user_id=24486

    The module developer's guide could use the same information
    in the same place.

    Thanks again.

     
  • Andrew G. Morgan

    • assigned_to: nobody --> agmorgan
    • status: open --> pending
     
  • Andrew G. Morgan

    Logged In: YES
    user_id=37107

    I'm not sure what is being requested here. Could you
    elaborate?

    Thanks

    Andrew

     
  • Andrew G. Morgan

    • status: pending --> open-invalid
     
  • Jenn Vesperman

    Jenn Vesperman - 2002-05-10

    Logged In: YES
    user_id=24486

    The guide (from memory) states that the program which
    terminates the PAM session may be different from the program
    which initiates the PAM session.

    To run the pam_close() function, the program which
    terminates the session requires the PAM handle. So the
    initiating program must pass the handle to the terminator.

    The PAM handle can be used to access sensitive data, so it
    must be passed securely.

    I'd like the documentation to provide -either- some
    suggestions for securely passing the PAM handle, or to
    provide some sort of pointer to where the developer can find
    that information.

    Does that clarify the request?

    (BTW: thanks for fixing my other docs bugs.)

    Jenn V.

     
  • Andrew G. Morgan

    • priority: 5 --> 1
     
  • Andrew G. Morgan

    • summary: Passing pam handle securely --> 0.75: Passing pam handle securely
    • status: open-invalid --> open-accepted
     
  • Andrew G. Morgan

    • priority: 1 --> 5
     
  • Andrew G. Morgan

    • priority: 5 --> 6
     
  • Andrew G. Morgan

    • priority: 6 --> 4
    • summary: 0.75: Passing pam handle securely --> 0.76: Passing pam handle securely
     
  • Andrew G. Morgan

    Logged In: YES
    user_id=37107

    I'm going to punt on this one for release 0.76. The sad fact
    is that
    there is no convention for reconstructing session info in
    another
    process. And this is why most PAM applications fork() a
    session
    and then handle the close in the parent.

    I'm hopeful that I can collect some thoughts/code for this
    issue for a future release.

    Cheers

    Andrew

     
  • Andrew G. Morgan

    Logged In: YES
    user_id=37107

    I guess I shouldn't actually tie documenting this to a
    specific release.

     
  • Andrew G. Morgan

    • summary: 0.76: Passing pam handle securely --> [document]: Passing pam handle securely
     

Log in to post a comment.