is there any progress with this problem
can i help ?

thanks k1


> Nice shot, thank you!
> 
> Do you know what ExtendShortKey does?
> 
> 
>> hi everybody,
>> 
>> i found the problem with the 3des encryption
>> i have comparen the snmpsend source code with the snmpsharpnet source
>> code
>> and the problem is in the EncryptPDU
>> branch
>> 
>> this line
>> FPrivKey := Pass2Key( TV3KeyType.PrivKey, FPrivPassword );
>> 
>> gives the same result as the c# library but in the c# library you can
>> see, than when the length of the key is smaler than 32 we have to do
>> another step
>> 
>> in c# its this lines
>> if( encryptionKey.Length < MinimumKeyLength )
>>    encryptionKey = ExtendShortKey(encryptionKey, secret, engineId,
>> authProtocol);
>> 
>> and this step is missing i think in snmpsend and thats why the
>> calculated key is wrong
>> 
>> i will try to imnplement this extra function
>> if someone wants to try, i can offen an open port to a working 3des
>> agent, all the free available 3des agents are also not correct
>> implemented
>> 
>> thanks
>> k1
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> synalist-public mailing list
>> synalist-public@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/synalist-public

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to