develooper Front page | perl.qpsmtpd | Postings from July 2005

Re: [Patch] STARTTLS support (forkserver only)

Thread Previous | Thread Next
From:
Matt Sergeant
Date:
July 8, 2005 10:46
Subject:
Re: [Patch] STARTTLS support (forkserver only)
Message ID:
894c0b3bbca5a96feb148924de19fbe1@sergeant.org
On 8 Jul 2005, at 12:49, Charlie Brady wrote:

>> Biggest problem seems to be that the password is requested every time.
>
> The STARTTLS plugin you sent doesn't have anything to do with 
> passwords. So you are talking about some interaction with AUTH, which 
> I haven't looked at.

No, this is to do with private keys - if the key has a password it gets 
asked for each time. You can get around that by not using DES3 and 
having a blank password, or as you can see in the code I checked in I 
save away the context object in init(), which requests the password 
once.

Not sure if this is the right solution. Your code with cert == privkey 
didn't work for me. Maybe I was doing something fishy.

Matt.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About