[RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

General forum for Buanzo's Enigform and mod_openpgp (HTTP+OpenPGP). Check out the subforums, too!

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Notapor buanzo el Mar Jun 19, 2007 6:04 pm

buanzo escribió:Regarding "Testing..." when schema is not http, or https, I'll have it done right away.


Fixed in CVS revision 1.5 for statusbar.js
Avatarde Usuario
buanzo
Administrador
 
Posts: 673
Registrado: Sab Dic 09, 2006 11:17 am
Ubicación: Buanzonia (ok, Florida, Buenos Aires)

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Sponsor

Sponsor
 

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Notapor dinkel el Mar Jun 19, 2007 6:06 pm

buanzo escribió:I've fixed the "no focus on new-tab" bug described above.

Regarding "Testing..." when schema is not http, or https, I'll have it done right away.


So it seems that I can go to bed quite early tonight ... or set up Apache ;-)
dinkel
 
Posts: 4
Registrado: Vie Jun 15, 2007 8:06 am

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Notapor buanzo el Mar Jun 19, 2007 7:16 pm

A-pa-che! A-pa-che! A-pa-che! A-pa-che! Smile
Avatarde Usuario
buanzo
Administrador
 
Posts: 673
Registrado: Sab Dic 09, 2006 11:17 am
Ubicación: Buanzonia (ok, Florida, Buenos Aires)

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Notapor lace el Mar Jun 19, 2007 8:53 pm

Is possible to improve Makefile of m_a_o so users could install it only just by make; make install?

make:
/usr/sbin/apxs -c -l gpgme -l gpg-error -I /usr/include/gpgme mod_auth_openpgp.c

install:
/usr/sbin/apxs -i mod_auth_openpgp.la
lace
 
Posts: 12
Registrado: Lun May 14, 2007 7:00 pm

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Notapor buanzo el Mar Jun 19, 2007 9:03 pm

Sure.
Avatarde Usuario
buanzo
Administrador
 
Posts: 673
Registrado: Sab Dic 09, 2006 11:17 am
Ubicación: Buanzonia (ok, Florida, Buenos Aires)

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Notapor lace el Mie Jun 20, 2007 7:13 pm

Eventually it works. Mr. Green
When I straced it I found out where the problem was.

You could add to README something like:
If you have problems try strace apache proces. You can run apache by "strace -f httpd -X".

httpd -X Run httpd in debug mode. Only one worker will be started and the
server will not detach from the console.

strace -f Trace child processes as they are created by currently
traced processes as a result of the fork(2) system call.
This way you can strace mod_auth_openpgp proces as well.

Of course you can attach already running process by "strace -p PID", of course "strace -p PID -f" may also help.

-p pid Attach to the process with the process ID pid and begin tracing.


I found out that httpd segfaults because of permission to /root/.gnupg/pubring.gpg. It was interesting because httpd run as daemon user but mod_auth_openpgp module wanted to use root's keys (by default). User daemon couldn't read root's home directory. When I allowed it all worked like a charm.

My enigformtest worked because I set --homedir and --keyring for gpgv in test.php.

Seems OpenPGP authentication works for me only if I set in my Enigform "Sign all requests". It should be triggered some dialog in Enigform if I use mod_auth_openpgp protected URL. If I set "Sign all requests" and of course I use the right passphrase OpenPGP authentication works.
lace
 
Posts: 12
Registrado: Lun May 14, 2007 7:00 pm

Re: [RELEASE] Enigform 0.8.1 and mod_auth_openpgp 0.2.1

Notapor buanzo el Jue Jun 21, 2007 9:56 am

OK, I've added OpenPGPGPGHomeDir configuration option. In my case, it is set to /var/www/.gnupg. I'm also trying to come up with a decent LetsFindOutApacheHomeDir() function, so that path could be automatically set to the correct value (that will be announced on error_log).
Avatarde Usuario
buanzo
Administrador
 
Posts: 673
Registrado: Sab Dic 09, 2006 11:17 am
Ubicación: Buanzonia (ok, Florida, Buenos Aires)

Previo

Volver a Enigform and mod_openpgp

¿Quién está conectado...?

Usuarios navegando este Foro: No hay usuarios registrados visitando el Foro y 2 invitados

cron