[OpenAFS-devel] More on the PAM modules, pthreads, and other joys

Jeffrey Altman jaltman@columbia.edu
Mon, 15 Aug 2005 18:24:19 -0400


This is a cryptographically signed message in MIME format.

--------------ms040206090601050606060809
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jeffrey Hutzelman wrote:
> More generally, it is not reasonable to assert that code which uses the
> DES API's (in this case, des_string_to_key) without calling rx_Init is
> broken. First, the DES API, which is not unique to AFS, does not have
> this requirement.  Second, rx_Init has significant side-effects, which
> should not be incurred for things that just want to use the DES library.
> 
> The brokenness here is in the DES library, and its inappropriate
> dependencies on rx and rxkad.  Fix that, and the other problems will go
> away.
> 
> -- Jeff

I didn't realize this was a side-effect of the thread local storage
changes.   I agree we must fix the DES library.

Jeffrey Altman

--------------ms040206090601050606060809
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAw7NrDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwNTI3MTc0MjQzWhcNMDYwNTI3MTc0MjQz
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS5l
ZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+LutDu/YyHreNfoYd+ZtOjXsL
h67F2cmcVuBPBz+ZGDA+WpVEHrqXa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