j2inn / haystack-nclient

Project Haystack client network TypeScript library
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

Enhancement/attest key request headers #16

Closed EliteScientist closed 2 years ago

EliteScientist commented 2 years ago

Removed invalid attest key header before requesting a new one. It was observed that when the old attest key was in the header while requesting a new one, this caused a remote system to terminate the connection. Instead of receiving a new CSRF token and replaying the request, the end result was a 400 error 'invalid attest key'