yoke88 / PSPHPIPAM

MIT License
21 stars 18 forks source link

problem using crypto #11

Closed MartinEtcheverry closed 5 years ago

MartinEtcheverry commented 5 years ago

Hi i am running this : New-PhpIpamSession -useAppKeyAuth -PhpIpamApiUrl http://192.168.1.23/api/myapp/user -appid script -appkey '76c9b896c4b48f12b51824952****'

And get this error: New-PhpIpamSession : Cannot validate argument on parameter 'AppKey'. The argument "76c9b896c4b48f12b51824952****" does not match the "^[0-9a-fA-f]{32}$"

yoke88 commented 5 years ago

appkey is 32 length, i do not know whether the new version has changed the appkey length

?取 Outlook for Androidhttps://aka.ms/ghei36


From: MartinEtcheverry notifications@github.com Sent: Friday, March 1, 2019 1:15:47 AM To: yoke88/PSPHPIPAM Cc: Subscribed Subject: [yoke88/PSPHPIPAM] problem using crypto (#11)

Hi i am running this : New-PhpIpamSession -useAppKeyAuth -PhpIpamApiUrl http://192.168.1.23/api/myapp/user -appid script -appkey '76c9b896c4b48f12b51824952****'

And get this error: New-PhpIpamSession : Cannot validate argument on parameter 'AppKey'. The argument "76c9b896c4b48f12b51824952****" does not match the "^[0-9a-fA-f]{32}$"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/yoke88/PSPHPIPAM/issues/11, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADAB8rR88XK5uwX4atLZYfp3ILTXXTXGks5vSA7DgaJpZM4bXUWN.

MartinEtcheverry commented 5 years ago

thank you , the problem was a error in the appkey