Re: How do you generate a USM localized key?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/4/17 Anthony Wright <[email protected]>:
> Since createUser explicitly offers the ability to use a localized...
> ..... key, I presumed there was a relatively simple
> way to generate them

You can turn a password into a master key, using the routine
'generate_Ku'.   This can then be localized using 'generate_kul()'

See the routine "usm_parse_create_usmUser" in snmplib/snmpv3.c
for example code.

Dave

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.