SHA1 AES192 decryption problems

peteryzwei via Net-snmp-coders <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
hello,I am using Net-snmp 5.8 and for these 2 auth/priv combinationsSHA1  AES192SHA1 AES256
decryption always fails on receiving an encrypted message. sc_decrypt() is successful but the parse in snmpv3_scopedPDU_parse() fails on ASN error.
I built net-snmp on windows OS 10 home.
I use wireshark and it has no problem decrypting the messages from the SNMP browser, so I know the pass phrases are correct.
I've tried other combinations successful, such as SHA1 AES128, SHA256 AES256, SHA224 AES192, etc.So the 2 combinations above seem to have problems.
I use function usm_parse_create_usmUser("", "shaaes192 SHA 1234567890 AES192 1234567890")to create the USM user. There is no error on creation. I see that usm_extend_user_kul() is called for the 2 cases, whereasit is not called for other combinations. Could there be a bug in that function ?
You can try to reproduce the problem by simply creating a user with those auth/priv combination and send a SNMP message froma browser.
regards,Peter

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.