[pubcookie-dev] Keyclient problems

Nathan Dors dors at cac.washington.edu
Thu Sep 30 22:00:57 PDT 2004


This has all the characteristics of a known problem with gcc 2.96 
on RedHat 7.3. We believe there's a bug in this compiler that 
causes problems building mod_pubcookie when optimizations are on.

The simplest solution seems to be turning off optimizations. After 
running the configure script, edit the pubcookie/module/Makefile 
(i.e. the one in the "module" subdirectory) and remove "-O2" from 
CFLAGS. Turning off optimization avoids the compiler bug.

-Nathan


On Thu, 30 Sep 2004, Markus Hagman wrote:

> Hi!
>
> When have had following errors with Pubcookie Apache Module 3.1.1. When
> browser tries to access an secured resource (meaning some directory which
> needs Pubcookie authentication).
> The directory we are trying to access redirects us correctly to the login
> page,
> but when we enter username+password and hit login the redirection back to
> our origin directory crashes with following error:
>
> Error message: "Couldn't decode pre-session cookie"
> Hitting Refresh will attempt to resubmit your request
>
> Apache error log:
>
> [Thu Sep 30 08:35:51 2004] [error] libpbc_rd_safe: couldn't verify
> signature for (self) OpenSSL error: error:0407006A:rsa
> routines:RSA_padding_check_PKCS1_type_1:block type is not 01
> [Thu Sep 30 08:35:51 2004] [error] libpbc_unbundle_cookie:
> libpbc_rd_priv() failed\n
>
> We are using:
> Apache 1.3.31
> Mod_SSL 2.8.19-1.3.31
> OpenSSL 0.9.7d
>
> Our linux distribution is Red Hat Linux release 7.3 (Valhalla)
>
> Thank you,
>
> Markus Hagman & Mikko Peiponen
>
> _______________________________________________
> pubcookie-dev mailing list
> pubcookie-dev at u.washington.edu
> http://mailman.u.washington.edu/mailman/listinfo/pubcookie-dev
>


More information about the pubcookie-dev mailing list