Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
some history
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Oct 22, 2020
1 parent 866e8cb commit 2621007
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@
#### HTTP Holder-Of-Key Authentication Scheme.

Documentation of the protocol, and the JS API, is in https://github.com/mozilla/hawk/blob/main/API.md.

## Ownership Changes

This was once `hueniverse/hawk` and relased as `hawk`.
Then, after the 7.0.10 release, it was moved to the `hapijs/hawk` repository and released as `@hapi/hawk`.
Hapi later de-supported the library, after releasing version 8.0.0.
It has since been moved to `mozilla/hawk` and is again released as `hawk`.
All of the intermediate versions are also relased as `hawk`.

Changes are represented in GitHub releases on this repository.

Mozilla maintains several Hawk implementations in different langauages, so it is likely to stay at Mozilla for some time.

This library is in "maintenance mode" -- no features will be added, and only security-related bugfixes will be applied.

1 comment on commit 2621007

@community-tc-integration
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh oh! Looks like an error! Details

Taskcluster-GitHub attempted to create a task for this event with the following scopes:

[
  "assume:repo:github.com/mozilla/hawk:branch:main",
  "queue:route:statuses",
  "queue:scheduler-id:taskcluster-github"
]

The expansion of these scopes is not sufficient to create the task, leading to the following:

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AnyOf": [
    "queue:create-task:highest:proj-taskcluster/ci",
    "queue:create-task:very-high:proj-taskcluster/ci",
    "queue:create-task:high:proj-taskcluster/ci",
    "queue:create-task:medium:proj-taskcluster/ci",
    "queue:create-task:low:proj-taskcluster/ci",
    "queue:create-task:very-low:proj-taskcluster/ci",
    "queue:create-task:lowest:proj-taskcluster/ci"
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AllOf": [
    "queue:route:statuses",
    "queue:scheduler-id:taskcluster-github",
    {
      "AnyOf": [
        "queue:create-task:highest:proj-taskcluster/ci",
        "queue:create-task:very-high:proj-taskcluster/ci",
        "queue:create-task:high:proj-taskcluster/ci",
        "queue:create-task:medium:proj-taskcluster/ci",
        "queue:create-task:low:proj-taskcluster/ci",
        "queue:create-task:very-low:proj-taskcluster/ci",
        "queue:create-task:lowest:proj-taskcluster/ci"
      ]
    }
  ]
}

  • method: createTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2020-10-22T22:18:20.034Z

Please sign in to comment.