Details

    • Sub-task
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • None
    • ERM Sprint 83, ERM Sprint 84, ERM Sprint 85, ERM Sprint 86

    Description

      From ianibbo:
      In case it's useful for devs on the issue - this is how I'm testing the auth:

      #!/bin/bash
      secret="YOURSECRET"
      token="YOURTOKEN"
      host="https://laser-qa.hbz-nrw.de"
      path="/api/v0/subscriptionList"
      timestamp=""
      nonce=""
      q="globalUID&v=1"
      auth=`echo -n "GET$path$timestamp$nonce$q" | openssl dgst -sha256 -hmac "$secret" | awk '

      Unknown macro: {print $2}

      '`
      echo sending curl $host$path?$q -H "x-authorization: hmac $token:::$auth,hmac-sha256"
      curl $host$path?$q -H "x-authorization: hmac $token:::$auth,hmac-sha256"

      TestRail: Results

        Attachments

          Activity

            People

              Unassigned Unassigned
              ostephens Owen Stephens
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases