Open IP Camera Forum

General => General Discussion => Topic started by: cjvijf on April 25, 2019, 04:26:07 pm

Title: create a session on an onvif IP camera
Post by: cjvijf on April 25, 2019, 04:26:07 pm
Hello,

I am writing some gnu c code (soap using curl) to connect to an IP camera,  for the digestpassword one needs to SHA1 'encrypt' a string.

How  do I get the key (from the camera) for that?  For example, on some D-Link sensors, there is an initial exchange to get a key for an authentication string encryption.

I assume for the SHA1/digest encryption, there must be a way to get the key to to encrypt the nonce, user, date to a password digest?

Ron