/usr/share/pyshared/pysnmp/proto/secmod/rfc3414/priv/base.py is in python-pysnmp4 4.2.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from pysnmp.proto import error
class AbstractEncryptionService:
serviceID = None
def hashPassphrase(self, authProtocol, privKey):
raise error.ProtocolError('no encryption')
def localizeKey(self, authProtocol, privKey, snmpEngineID):
raise error.ProtocolError('no encryption')
def encryptData(self, encryptKey, privParameters, dataToEncrypt):
raise error.ProtocolError('no encryption')
def decryptData(self, decryptKey, privParameters, encryptedData):
raise error.ProtocolError('no encryption')
|