Re: Implementing SNMPv3 encryption and decryption
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 28/11/2007, Forbes II, John D <[email protected]> wrote: > I am currently trying to implement SNMPv3 encryption and decryption into my > existing application. My client needs to be able to send my application > SNMPv3 encrypted messages which will be authenticated and decrypted for > parsing by my software. The sc_decrypt() function looks to be what I need > but I am unsure how to acquire all of the necessary parameters from the > message itself. Can anyone tell me the best way for my application to > calculate the necessary keys and IV value for decryption of the v3 message? The SNMP message will include the username for that particular message. Your application will need a local database of configured users and their associated keys. The IV value is calculated from the privParameters field of the SNMP message, and the user's privacy key. See the routine snmpusm.c:usm_process_in_msg() for details. Dave ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ 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