pysnmp icon indicating copy to clipboard operation
pysnmp copied to clipboard

Make LCD reconfigure V3 users when auth data changes

Open topnotcher opened this issue 1 year ago • 1 comments

CommandGeneratorLcdConfigurator configures auth data and caches based on (username, security engine id). If the authentication data is changed, such as via usmUserAuthKeyChange, the cache is not updated because neither the username nor engine ID changed. Despite new data being passed in, this results in the old data being used and a "Wrong SNMP PDU digest" error indication being returned.

Change the LCD to detect a changed authKey, authProtocol, privKey, or privProtocol and reconfigure the V3 user as appropriate.

topnotcher avatar May 15 '24 18:05 topnotcher

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 15 '24 18:05 CLAassistant

Cherry-picked. Close this one.

lextm avatar Aug 10 '24 21:08 lextm