List Info

Thread: Re: kerberos authentication pam_pkcs11?




Re: kerberos authentication pam_pkcs11?
country flaguser name
Switzerland
2007-08-31 08:01:28

Hi , thanks for the info!

However, i am not intressted in technical specification, i simply want use the package.

So i would be glad if anybody could share his experience about pam_pkcs11 and kerberos auth.

For ex: where exactly should be the login name in the certificate? Is it the CN, or uid, or else? For ldap it is clear, but for kerberos not realy.
What do i need to type after i plug in the card? The PIN for sure, but i guess the kerberos password too?

Is the package stable enough to use it in production systems?

Thank you for your help in advance.

Steve




From: &nbsp;"Timothy J. Miller" <tmillermitre.org&gt;
To:&nbsp; proyconhotmail.com
CC: opensc-userlists.opensc-project.org
Subject: &nbsp;Re: [opensc-user] kerberos authentication pam_pkcs11?
Date:&nbsp; Fri, 31 Aug 2007 06:37:17 -0600
>;On Aug 31, 2007, at 6:01 AM, proyconhotmail.com wrote:
>;
>>I have a project where i need to authenticate users via smartcards.
>>I tested the ldap authetication over pam_pkcs11, no probs so far.
>
>Technically speaking that's LDAP *authorization*. ; Authentication
>was&nbsp; done after the private key proof was performed, which is done
>locally &nbsp;on the client.
&gt;
>>Now i have to move forvard to kerberos, whoever i not sure how to  
>>start.
>>My question is, where exactly should be the login name in the &nbsp;
>&gt;certificate? Is it CN, or uid, or else?
>>What action will be performed? What do i need to type after i plug  
>>in the card? username? pin? Password?
>>Did anybody have an experience with pam_pkcs11 and kerberos?
>
>You need to start by reading the PKINIT Kerberos extension:
>
>http://www.ietf.org/rfc/rfc4556.txt
>
>And all should become clear (as mud .
>
>;-- Tim
>
&gt;
>

><&lt; smime.p7s >>



Ihr Blog. Ihre Fotos. Ihre Erlebnisse. Jetzt auf MSN Spaces. - Jetzt anmelden!
Re: kerberos authentication pam_pkcs11?
country flaguser name
United States
2007-08-31 09:06:36
On Aug 31, 2007, at 7:01 AM, Proycon P. wrote:
> However, i am not intressted in technical
specification, i simply  
> want use the package.
RFC4665, Section 3.2.2, "Receipt of Client
Request" says, in part:

"""
    In addition to validating the client's signature, the
KDC MUST also
    check that the client's public key used to verify the
client's
    signature is bound to the client principal name
specified in the AS-
    REQ as follows:

    1. If the KDC has its own binding between either the
client's
       signature-verification public key or the client's
certificate and
       the client's Kerberos principal name, it uses that
binding.

    2. Otherwise, if the client's X.509 certificate contains
a Subject
       Alternative Name (SAN) extension carrying a
KRB5PrincipalName
       (defined below) in the otherName field of the type
GeneralName
       [RFC3280], it binds the client's X.509 certificate to
that name.

       The type of the otherName field is AnotherName.  The
type-id  
field
       of the type AnotherName is id-pkinit-san:

        id-pkinit-san OBJECT IDENTIFIER ::=
          { iso(1) org(3) dod(6) internet(1) security(5)
kerberosv5(2)
            x509SanAN (2) }

       And the value field of the type AnotherName is a
       KRB5PrincipalName.

        KRB5PrincipalName ::= SEQUENCE {
            realm                   [0] Realm,
            principalName           [1] PrincipalName
        }
"""

Also note Appendix C, "Miscellaneous Information about
Microsoft  
Windows PKINIT Implementations" which talks about the
differences  
between the spec and Windows KDC implementation
requirements.

Like I said, start with the RFC.

-- Tim


_______________________________________________
opensc-user mailing list
opensc-userlists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )