vincentbernat / snimpy

interactive SNMP tool with Python
http://snimpy.readthedocs.org/
185 stars 44 forks source link

Add support for SHA-2 authentication protocols #112

Closed matthijskooijman closed 3 months ago

matthijskooijman commented 3 months ago

The pysnmp library already supports these, so this is a matter of adding the needed mappings from authprotocol string to pysnmp constant.

matthijskooijman commented 3 months ago

I verified this works against a Netgear GS752TPv2 switch that can only do SHA512 with the latest firmware.

vincentbernat commented 3 months ago

Thanks!

coveralls commented 3 months ago

Coverage Status

coverage: 88.701%. remained the same when pulling 7d2d9dfe527b78be18ba56223bc07936f20ab4ca on matthijskooijman:support-sha-2 into abc4c21c55e4ca7cdd356f937210e3f3f80aca07 on vincentbernat:master.