Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 37172 invoked from network); 28 Oct 2008 11:36:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 11:36:22 -0000 Received: (qmail 70729 invoked by uid 500); 28 Oct 2008 11:36:25 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 70696 invoked by uid 500); 28 Oct 2008 11:36:25 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 70685 invoked by uid 99); 28 Oct 2008 11:36:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 04:36:25 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [217.172.181.221] (HELO athen221.novareto.de) (217.172.181.221) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 11:35:12 +0000 Received: from [192.168.2.101] (p5B0BD2B4.dip.t-dialin.net [91.11.210.180]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by athen221.novareto.de (Postfix) with ESMTP id 15F343EC004 for ; Tue, 28 Oct 2008 12:35:55 +0100 (CET) Message-Id: From: Christian Klinger To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: How can i decrypt a cookie in a module Date: Tue, 28 Oct 2008 12:35:51 +0100 X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org Hello, how can i decrypt a blowfish sigend cookie in an module. I have tried to do this so far: mod_auth_tkt is the module which should decrypt the cookie. I have included openssl/blowfish in the mod_auth_tkt.c #include I try to get my key config with this command: BF_set_key(&key, 8, (unsigned char *)bf_key[1]); BF_Decrypt(b, &key); I hope this is correct so far? make && make install works so far. But if i try to start apache i get this error message: Syntax error on line 235 of /opt/apache/server/conf/httpd.conf: Cannot load /opt/apache/server/modules/mod_auth_tkt.so into server: / opt/apache/server/modules/mod_auth_tkt.so: undefined symbol: BF_Decrypt Any ideas where i can look for this?