I have a need to generate an authkey and privkey given a passphrase
and the authentication and encryption algos (ie. MD5/SHA, DES/AES).
The resultant keys can just be printed to stdout.
Does such a simple tool exist? If so, please point me to one.
Cheers,
Daniel
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Hi,
> I have a need to generate an authkey and privkey given a passphrase
> and the authentication and encryption algos (ie. MD5/SHA, DES/AES).
>
> The resultant keys can just be printed to stdout.
>
> Does such a simple tool exist? If so, please point me to one.
Did you've already tried snmpkey provided with Net::SNMP Perl module ?
http://search.cpan.org/~dtown/Net-SNMP-5.2.0/snmpkey.PL
Regards,
--
Raphaël 'SurcouF' Bordet
>http://search.cpan.org/~dtown/Net-SNMP-5.2.0/snmpkey.PL
Fantastic! Thanks for your help Raphaël.
Cheers,
Daniel
Though remember that David's Net::SNMP module is not related to the
Net-SNMP project in any way (other than the subject matter, obviously!).
So when it talks about using the Net::SNMP session() constructor
(with arguments -privkey or -authkey), this assumes that you are using
the Net::SNMP module.
The equivalent elements of the Net-SNMP project perl module
(i.e. SNMP::Session) does not have the same API, and won't recognise
these options.
But of course, you can use David's module to query a Net-SNMP (or
any other) agent. That's perfectly valid.
Dave
You're welcome.
I've a question : can you explain me your need about authkey and
privkey ? Did you have an example ?
What are advantages or drawbacks for using theses keys ?
Thanks,
--
Raphaël 'SurcouF' Bordet