Dear Ben,

I’m trying to make use of gracie, but using it with my photo album:
http://www.joachim-breitner.de/bilder/login.html (which uses
libmod-auth-openid) fails. Entering my openID does forward my to gracie
and lets me log in, but then I see an error page saying:

The server encountered an error trying to serve the request. The message
was:

<CheckIDRequest id:'http://nomeata.de:8000/id/[email protected]'
im:False tr:'http://www.joachim-breitner.de'
ah:'{HMAC-SHA256}{4c76b2c8}{nQSupA==}'> should be constructed with
op_endpoint to respond to OpenID 2.0 messages.

Are you still working on gracie and do you plan to enable OpenID
authentication?

And while I am at it: I use libpam-pwdfile to authenticate gracie
against my dovecot-passwdfile, not against the system user database.
This means that getpwnam fails. I worked around the problem using this
patch:

====================================
--- gracie-0.2.11.orig/gracie/authservice.py    2010-08-26 20:52:34.000000000 
+0200
+++ gracie-0.2.11/gracie/authservice.py 2010-08-26 20:52:37.000000000 +0200
@@ -43,6 +43,17 @@
         raise NotImplementedError
 
 

+class NullAuthService(BaseAuthService):
+    """ No auth service"""
+
+    def get_entry(self, value):
+        """ Get an entry from the service by key value """
+        return dict(
+            id = None,
+            name = value,
+            fullname = None
+        )
+

 class PosixAuthService(BaseAuthService):
     """ Interface to POSIX authentication service """
 
@@ -106,7 +117,7 @@
                 response_list.append(response)
         return response_list
 
-class PamAuthService(PosixAuthService):
+class PamAuthService(NullAuthService):
     """ Interface to PAM authentication service """
 
     def __init__(self):
====================================

If you could integrate (configurably) such a feature, that would be
great.

Thanks,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  [email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [email protected] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to