Can you check if snmpusm is what you are looking for? https://net-snmp.sourceforge.io/docs/man/snmpusm.html
On Mon, Sep 11, 2023 at 1:34 PM Pushpa Thimmaiah <pushpa.thimma...@gmail.com> wrote: > Hi All, > > I am looking for method to save username and community in encrypted format > in /etc/snmp/snmpd.conf. Could you please let me know it can be done? > > *1.* I have noticed that snmpv3 username in usm-entry is not encrypted > as shown below. Here snmpv3 user = 123user. If I remember correctly, an > older version of netsnmp was encrypting snmpv3 username too. > > usmUser 1 3 0x80001f8880103aeb4ddf04496000000000 "123user" "123user" NULL > .1.3.6.1.6.3.10.1.1.7 0x3ea47fb6bc78fdee1ad59c7987b72ca366c23e7d9 > 1c2c03028e52e7c8435260a626d5b3bd59175a9dbb5484 .1.3.6.1.4.1.14832.1.3 > 0x3ea47fb6bc78fdee1ad59c7987 b72ca366c23e7d91c2c030 0x > > *2.* snmptrap, trasess will use option 3(MmKk) used to input key instead > of plain text password. Is there any option to do the same for encrypted > username ? > > Thanks, > Pushpa.T > _______________________________________________ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > -- Regards, Feroz Ahmed
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders