gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Crypto] Using gnu-crypto-discuss to send emails via authorized


From: Øyvind Harboe
Subject: Re: [GNU Crypto] Using gnu-crypto-discuss to send emails via authorized SMTP servers
Date: Fri, 23 Jan 2004 15:14:09 +0100

fre, 23.01.2004 kl. 01.30 skrev Casey Marshall: 
> --BEGIN PGP SIGNED MESSAGE--
> Hash: SHA1
> 
> >>>>> "Øyvind" == Øyvind Harboe <address@hidden> writes:
> 
> Øyvind> ons, 21.01.2004 kl. 23.12 skrev Casey Marshall:
> >> Sasl.createSaslClient() will return null if there is a fatal
> >> configuration problem (i.e. if a Factory class cannot be found).
> 
> Øyvind> I take this as a "Yes GNU Crypto can be used for SMTP
> Øyvind> authentication" :
> 
> More like "I think it can". I'm not at all familiar with the SASL
> classes or javax.mail.
> 
> I'm guessing, however, that either
> 
> 1) Sasl.createSaslClient is being called with `null' as the mechanisms
>    array.

The array contains {"LOGIN"}

> 
> 2) GnuCrypto isn't installed properly. Make sure that
>    Security.getProvider("GnuCrypto") does not return null.

                // install
                Security.addProvider(new gnu.crypto.jce.GnuCrypto());
                // returns !=null
                Security.getProvider("GNU-CRYPTO")
                // returns null
                Security.getProvider("GnuCrypto")








reply via email to

[Prev in Thread] Current Thread [Next in Thread]