diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a8b671..7687e18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# `0.6.0-beta.2` + +- biscuit-auth 6.0.0-beta.3 + - dedicated prefix for private keys +- read secp256r1 keys in datalog parameters +- support for PEM keys +- improve CLI documentation + # `0.6.0-beta.1` - biscuit-auth 6.0.0-beta.1 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..01dd8df --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,29 @@ +# Contributing + +This repository is part of the [eclipse-biscuit](https://projects.eclipse.org/projects/technology.biscuit) project. It is licensed under `BSD-3-Clause` and requires contributors to sign the [Eclipse Contributor Agreement](https://www.eclipse.org/legal/ECA.php) (see #eclipse-contributor-agreement below). + +## Before contributing + +Unless you’re fixing a trivial issue, it is a good idea to start by opening an issue, in order to gather feedback about the changes you have in mind. + +You can also ask questions on the [implementers matrix chat](https://matrix.to/#/!suybZZpOqChdTNuIVA:matrix.org). + +## Project communication + +The discussion space is a [matrix chat](https://matrix.to/#/!MXwhyfCFLLCfHSYJxg:matrix.org). +Updates are also posted on [bluesky](https://bsky.app/profile/biscuitsec.org) and [mastodon](https://hachyderm.io/@biscuitauth). + +Security issues can be reported via [github](https://github.com/eclipse-biscuit/biscuit-cli/security). + +## Eclipse Contributor Agreement + +From the [ECA FAQ](https://www.eclipse.org/legal/eca/faq/): + +The purpose of the ECA is to provide a written record that you have agreed to provide your contributions of code and documentation under the licenses used by the Eclipse project(s) you're contributing to. It also makes it clear that you are promising that what you are contributing to Eclipse is code that you wrote, and you have the necessary rights to contribute it to our projects. And finally, it documents a commitment from you that your open source contributions will be permanently on the public record. + +In order to sign the ECA, you can follow these steps: + +- [Create an account](https://dev.eclipse.org/site_login/createaccount.php) on dev.eclipse.org +- Open your [Account Settings tab](https://dev.eclipse.org/site_login/myaccount.php#open_tab_accountsettings), enter your GitHub ID and click Update Account +- Read and [sign the ECA](https://dev.eclipse.org/site_login/myaccount.php#open_tab_cla) +- Use the exact same email address for your Eclipse account and your commit author. diff --git a/Cargo.lock b/Cargo.lock index 2d9e123..3804173 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "aho-corasick" @@ -69,9 +69,9 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "biscuit-auth" -version = "6.0.0-beta.2" +version = "6.0.0-beta.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dccca0ba30ea46587848444dc87ea3f379cd34cccb4d59b35bb7f45e923e23d0" +checksum = "336ffc076d302968607866acb85378ed77066289ce1868aa7770c0f3f6e83e5c" dependencies = [ "base64", "biscuit-parser", @@ -79,7 +79,7 @@ dependencies = [ "ecdsa", "ed25519-dalek", "elliptic-curve", - "getrandom 0.1.16", + "getrandom", "hex", "nom", "p256", @@ -99,7 +99,7 @@ dependencies = [ [[package]] name = "biscuit-cli" -version = "0.6.0-beta.1" +version = "0.6.0-beta.2" dependencies = [ "anyhow", "atty", @@ -118,9 +118,9 @@ dependencies = [ [[package]] name = "biscuit-parser" -version = "0.2.0-alpha.1" +version = "0.2.0-beta.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f52db87488d52f9aeb29c6b7294b736c1341b8730fee49cd1681522398bb59b" +checksum = "0a6f2eb85dcc822200621ce077b9382453d28ddd6a55e7a97bdb592370d2d440" dependencies = [ "hex", "nom", @@ -133,9 +133,9 @@ dependencies = [ [[package]] name = "biscuit-quote" -version = "0.3.0-alpha.1" +version = "0.3.0-beta.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97887efd447743d2f1a545a8eee5afc4315aedb8a6bfa0c4afcb0974a779907a" +checksum = "12c624b1cf44110708a62b63341b17c37c33fcdd3cce89b501a115af3454dcf8" dependencies = [ "biscuit-parser", "proc-macro-error2", @@ -490,17 +490,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.15" @@ -509,7 +498,7 @@ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -963,7 +952,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom", ] [[package]] @@ -1209,7 +1198,7 @@ checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" dependencies = [ "cfg-if", "fastrand", - "getrandom 0.2.15", + "getrandom", "once_cell", "rustix", "windows-sys", @@ -1299,12 +1288,6 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" diff --git a/Cargo.toml b/Cargo.toml index f463b39..058fbf9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "biscuit-cli" -version = "0.6.0-beta.1" +version = "0.6.0-beta.2" description = "a CLI to manipulate biscuit tokens" authors = ["Clement Delafargue "] edition = "2018" @@ -17,7 +17,7 @@ path = "src/main.rs" [dependencies] atty = "0.2.14" -biscuit-auth = { version = "6.0.0-beta.2", features = ["serde-error", "pem"] } +biscuit-auth = { version = "6.0.0-beta.3", features = ["serde-error", "pem"] } clap = { version = "^3.0", features = ["color", "derive"] } chrono = "^0.4" hex = "0.4.3"