How to enable SHA-1 option when building snmp? "--enable-sha1" does not work.
--- On Tue, 1/13/09, Wes Hardaker <[email protected]> wrote: > From: Wes Hardaker <[email protected]> > Subject: Re: build with SHA-256 or SHA-1 option but disable MD5 > To: [email protected] > Cc: [email protected] > Received: Tuesday, January 13, 2009, 12:46 PM > >>>>> On Tue, 13 Jan 2009 08:13:48 -0800 > (PST), PoWah Wong <[email protected]> said: > > PW> Is it possible to build with SHA-256 or SHA-1 option > but disable > PW> MD5? How? I use both version 5.0.9 on Redhat 7.2 > and 5.4.1 on > PW> Fedora Core 6. > > Right now, no it isn't. I'd like to support this > but haven't done the > appropriate #ifdef's to make this happen. > > That being said, if you don't create users with MD5 as > the > authentication method you won't actually suffer from > the weaker > security. The only downside would be the slightly > increased code size. > > (note: there is no SHA256 at all... SHA1 is the only > option at this > point (though most people consider SHA1 safe when used as > part of the > HMAC algorithm, which SNMPv3 uses)) > -- > Wes Hardaker > Sparta, Inc. __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
