Version 1.1 Source and releases
Source
The repository holds the texts, the schemas, the conformance data, the tools, the reference programs, the library and the source of this site.
Repository
The repository is github.com/ProcurAuth/procurauth. The protocol and the MCP binding are neutral: they name no product.
IMPLEMENTATIONS.md lists the known implementations of the protocol (paragraph 16.1). The README of each crate describes its program and its limits. devdocs/architecture.md describes the crates, the rules of the code and the way to add a tool. docs/design/ keeps the design records: the decisions and the questions about the protocol.
Build
The workspace needs Rust 1.89 or later (rust-version in Cargo.toml, edition 2024). It builds the seven programs and the library.
With Rust
$ git clone https://github.com/ProcurAuth/procurauth$ cd procurauth$ git checkout v1.1$ cargo build --release --locked --workspaceThe programs are in target/release/.
With Docker only
The script scripts/cargo.sh runs cargo in a container. Nothing is installed on your machine. It builds the image procurauth-dev:1 one time, and it keeps the registry and the build files in Docker volumes.
$ scripts/cargo.sh build --release --locked --workspace$ scripts/cargo.sh test --workspace$ scripts/conformance.sh all$ scripts/ci.shscripts/ci.sh runs the format check, clippy, the tests and the conformance runs, and stops at the first failure. scripts/msrv.sh checks that the workspace builds with Rust 1.89. The CI of a pull request runs only the fast checks: the policy, the format, clippy and scripts/check-docs.py. The workflow full runs the two scripts each night, on request and before a release.
The library procurauth-pep has the optional feature tls, which is off by default. Test it with scripts/cargo.sh test -p procurauth-pep --features tls. With this feature, the crate aws-lc-sys compiles C code. The image of scripts/cargo.sh has the compiler that it needs.
Releases
A git tag such as v1.1 starts the workflow .github/workflows/release.yml. It builds the seven programs for each platform below, packs each build in an archive and makes a release. Each archive holds the seven programs and the two licence files. The release has a file SHA256SUMS with the SHA-256 sum of each archive, and each archive has its own .sha256 file.
| Platform | Archive | SHA-256 |
|---|---|---|
| Linux, x86-64 | procurauth-tools-1.1-x86_64-linux.tar.gz | .sha256 |
| Linux, ARM64 | procurauth-tools-1.1-aarch64-linux.tar.gz | .sha256 |
| macOS, Apple silicon | procurauth-tools-1.1-aarch64-macos.tar.gz | .sha256 |
| macOS, Intel | procurauth-tools-1.1-x86_64-macos.tar.gz | .sha256 |
| Windows, x86-64 | procurauth-tools-1.1-x86_64-windows.zip | .sha256 |
SHA256SUMS lists all the sums. The five tools show their licence with --version.
Check a download
$ REPO=https://github.com/ProcurAuth/procurauth$ BASE=$REPO/releases/download/v1.1$ curl -LO $BASE/SHA256SUMS$ curl -LO $BASE/procurauth-tools-1.1-x86_64-linux.tar.gz$ sha256sum --check --ignore-missing SHA256SUMSprocurauth-tools-1.1-x86_64-linux.tar.gz: OK$ tar -xzf procurauth-tools-1.1-x86_64-linux.tar.gz$ ./procurauth-tools-1.1-x86_64-linux/keycheck --versionLicences
Code: Apache-2.0
The tools, the reference programs, the library and the source of this site. The file is LICENSE.
Texts: CC BY 4.0
The protocol, the MCP binding and the documents. The file is LICENSE-TEXTS.txt. To give credit, name the project: "ProcurAuth".
Contribute
- Open an issue in the issue tracker to ask a question, to report an error or to propose a change. Cite the number of the paragraph.
- For a change of the text, keep the numbers of the paragraphs. A paragraph that leaves the text keeps its number with the word "Unused".
- For a change of a rule, add or change a conformance case that cites the paragraph, and add it to
conformance/COVERAGE.md. - For a change of the code, follow
devdocs/architecture.md. Write one test for each paragraph that the code implements, and runscripts/ci.sh. - Open a pull request. A contribution is under the licence of the files that it changes.
Write the documents in ASD-STE100 Simplified Technical English, as the specification does. Run python3 -I scripts/check-docs.py to check the links, the site and the text. CONTRIBUTING.md has the details.
To report a vulnerability, read SECURITY.md. Do not open a public issue for it.
Changelog
Unreleased
- The repository moved to the GitHub organisation
ProcurAuth. The$idof each JSON Schema has the new hostprocurauth.github.io. The old host does not answer now. The version of the protocol stays 1.1. - The site has a page for the implementations, an Open Graph image, icons and a page 404. The repository has the files
SECURITY.md,CONTRIBUTING.mdandCODE_OF_CONDUCT.md.
1.1
The full changelog is the file docs/CHANGELOG.md of the repository.
- Protocol section 17, the approval of an effect, is mandatory for each action of a service. The MCP binding gives the result of a call that waits, the tool errors and the tool
get_action_status. - The claims
iat,expandnbfare JSON integers with digits only. A service checksnbf. It refuses a token withoutkidwhen its key set holds more than one key (9.3, 9.4). - A health-probe route needs no token and asks no question. Each other route that runs no action asks the action
accesson the service (10.1c). - A PDP publishes the age bound of its directory (3.9, 10.7b). The approval API answers an unknown credential with HTTP 401 (17.4).
- The MCP binding is the source for a ProcurAuth service. Its section 12 lists each difference from the contract of the MCP servers.
- 19 JSON schemas and 245 conformance cases: 127 for a PEP, 98 for a PDP and 20 for an edge.
- The library
procurauth-pephas the optional featuretls, a bounded table of token checks and the flagallow_plain_http.
1.0
The first release.
- The protocol and the MCP binding.
- The JSON schemas and the conformance data, in the series U, D and E.
- The tools
keycheck,access-token,access-lint,fake-pdpandaccess-conformance. - The reference programs
reference-serviceandreference-edge. - The reference PEP library
procurauth-pepin Rust. - Binaries for Linux, macOS and Windows, with SHA-256 sums.