Differences between revisions 13 and 14
Revision 13 as of 2006-03-31 13:18:09
Size: 6934
Editor: AndreasHaupt
Comment:
Revision 14 as of 2006-03-31 13:46:10
Size: 7283
Comment: arc, arcx added
Deletions are marked like this. Additions are marked like this.
Line 47: Line 47:
 * Generic Client/Server solution for AFS authentication: arc/arcd by Rainer Toebbicke (CERN)
 * Generic Client/Server solution for Kerberos5 authentication [ftp://ftp.ifh.de/pub/unix/gnu/perl/modules/ARCv2-1.05.tar.gz arcx/arcxd] with [ftp://ftp.ifh.de/pub/unix/gnu/perl/modules/ plugins] for batch system support and AFS related services (DESY)

Authentication technologies

TableOfContents

Authentication using symmetric key cryptography

Key for encryption and decryption is the same (or easily derived from the other key). Needs a third party to establish a trust relation. In High energy Physics (HEP) Kerberos4 and Kerberos5 are used. Kerberos4 has security flaws and is largely replaced by Kerberos5.

Kerberos5

Defined in [http://www.ietf.org/rfc/rfc4120.txt RFC4120], API defined in [http://www.ietf.org/rfc/rfc4121.txt RFC4121]

Currently implemented in 3 major variants: MIT Kerberos, Heimdal Kerberos, Windows Kerberos

See also the FNAL solution:

Software with Kerberos Support

Usually the software mentioned below does not come with Kerberos support by default, configuration or recompilation is required in most cases.

  • Webserver: IIS, Apache (so called Simple and Protected GSSAPI Negotiation Mechanism (SPNEGO) support)
  • Webclients: Internet Explorer, Mozilla, Firefox
  • Mailserver: Cyrus-IMAP, UW-IMAP
  • Mailclients: pine, Mozilla, Thunderbird
  • Batchsystems: [:SGEwithAFS: SunGridEngine], LSF

  • Filesystems: AFS, NFSv4
  • Libraries: PAM, GSSAPI ([http://www.ietf.org/rfc/rfc1508.txt version 1] and [http://www.ietf.org/rfc/rfc2743.txt version2]), [http://www.ietf.org/rfc/rfc2222.txt SASL], perl Modules(Authen-SASL, Authen-Krb5)

  • Protocols: LDAP, IMAP, SMTP (via SASL) Socks5
  • Client/Server programs: openssh, telnet, ftp, su, arc, arcx

Other UNIX software is or could be made Kerberos5 aware by using the SASL or GSS API.

Software contributions from the HEP community

Authentication using public key infrastructure

Public key cryptography is an assymetric key method. It uses a pair of keys, called public and private key. The public key is intended for distribution, while the private key needs to be kept secret. Both keys are connected through a mathematical relation, which is highly asymmetric in terms of computational effort to derive one key from the other.

Knowing the public key it should be practically impossible to derive the private key.

In order to verify that a public key is associated with the real issuer, a Public Key Infrastructure (PKI) is installed. In most practical cases within HEP the keys used are so called X.509 Certificates. The verification of these certificates is done trough a hierarchy of trusted third parties, called Certification Authorities (CA).

The various deployed grid solutions (e.g. LCG) all use authentification with certificates

Software that is using Certificates

For other talks on this subject see also "Talks at HEPiX meetings related to Single Sign On" below and

Single Sign On

There is also a report on using [http://www.wi-bw.tfh-wildau.de/~pboettch/home/sso/ SSO at the TFH Wildau] (in german) which is using Kerberos on UNIX and a trust relationship with the realm on Windows (tested also at DESY) and a [http://www-zeuthen.desy.de/~ahaupt/downloads/OpenAFS-Heimdal-Integration.pdf diploma thesis] that describes the migration from OpenAFS kaserver authentication to Heimdal Kerberos5

Other topics

One time passwords

Synchronisation of passwords across platforms

DVInfo/Authentication_technologies_in_use_at_HEP (last edited 2008-10-30 11:40:12 by localhost)