From 6dc40991d86ebb5fed49feb641a96224b6627edc Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sun, 3 Dec 2023 15:28:07 +0100 Subject: [PATCH] Future packages are as follows: the library, the bundle and the experimental algorithms --- src/Component/.github/CONTRIBUTING.md | 5 ++ src/Component/.github/FUNDING.yml | 2 + .../.github/PULL_REQUEST_TEMPLATE.md | 3 + src/Component/.github/stale.yml | 6 ++ src/Component/Checker/.github/stale.yml | 6 ++ src/Component/Console/.github/stale.yml | 6 ++ src/Component/Core/.github/stale.yml | 6 ++ src/Component/Encryption/.github/stale.yml | 6 ++ src/Component/KeyManagement/.github/stale.yml | 6 ++ src/Component/LICENSE | 21 ++++++ src/Component/NestedToken/.github/stale.yml | 6 ++ src/Component/README.md | 16 +++++ src/Component/Signature/.github/stale.yml | 6 ++ src/Component/composer.json | 66 +++++++++++++++++++ 14 files changed, 161 insertions(+) create mode 100644 src/Component/.github/CONTRIBUTING.md create mode 100644 src/Component/.github/FUNDING.yml create mode 100644 src/Component/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 src/Component/.github/stale.yml create mode 100644 src/Component/Checker/.github/stale.yml create mode 100644 src/Component/Console/.github/stale.yml create mode 100644 src/Component/Core/.github/stale.yml create mode 100644 src/Component/Encryption/.github/stale.yml create mode 100644 src/Component/KeyManagement/.github/stale.yml create mode 100644 src/Component/LICENSE create mode 100644 src/Component/NestedToken/.github/stale.yml create mode 100644 src/Component/README.md create mode 100644 src/Component/Signature/.github/stale.yml create mode 100644 src/Component/composer.json diff --git a/src/Component/.github/CONTRIBUTING.md b/src/Component/.github/CONTRIBUTING.md new file mode 100644 index 000000000..5e80b426f --- /dev/null +++ b/src/Component/.github/CONTRIBUTING.md @@ -0,0 +1,5 @@ +# Contributing + +This repository is a sub repository of [the JWT Framework](https://github.com/web-token/jwt-framework) project and is +READ ONLY. +Please do not submit any Pull Requests here. It will be automatically closed. diff --git a/src/Component/.github/FUNDING.yml b/src/Component/.github/FUNDING.yml new file mode 100644 index 000000000..726574c1f --- /dev/null +++ b/src/Component/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: Spomky +patreon: FlorentMorselli diff --git a/src/Component/.github/PULL_REQUEST_TEMPLATE.md b/src/Component/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..d4ff96cb4 --- /dev/null +++ b/src/Component/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,3 @@ +Please do not submit any Pull Requests here. It will be automatically closed. + +You should submit it here: https://github.com/web-token/jwt-framework/pulls diff --git a/src/Component/.github/stale.yml b/src/Component/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/Checker/.github/stale.yml b/src/Component/Checker/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/Checker/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/Console/.github/stale.yml b/src/Component/Console/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/Console/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/Core/.github/stale.yml b/src/Component/Core/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/Core/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/Encryption/.github/stale.yml b/src/Component/Encryption/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/Encryption/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/KeyManagement/.github/stale.yml b/src/Component/KeyManagement/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/KeyManagement/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/LICENSE b/src/Component/LICENSE new file mode 100644 index 000000000..37cf976b1 --- /dev/null +++ b/src/Component/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2019 Spomky-Labs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/Component/NestedToken/.github/stale.yml b/src/Component/NestedToken/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/NestedToken/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/README.md b/src/Component/README.md new file mode 100644 index 000000000..f307bebc4 --- /dev/null +++ b/src/Component/README.md @@ -0,0 +1,16 @@ +PHP JWT Signature Component +=========================== + +This repository is a sub repository of [the JWT Framework](https://github.com/web-token/jwt-framework) project and is +READ ONLY. + +**Please do not submit any Pull Request here.** +You should go to [the main repository](https://github.com/web-token/jwt-framework) instead. + +# Documentation + +The official documentation is available as https://web-token.spomky-labs.com/ + +# Licence + +This software is release under [MIT licence](LICENSE). diff --git a/src/Component/Signature/.github/stale.yml b/src/Component/Signature/.github/stale.yml new file mode 100644 index 000000000..bc9ccf00d --- /dev/null +++ b/src/Component/Signature/.github/stale.yml @@ -0,0 +1,6 @@ +daysUntilStale: 1 +daysUntilClose: 1 +staleLabel: wontfix +markComment: > + This repository is in read only mode. Please visit the main repository +closeComment: false diff --git a/src/Component/composer.json b/src/Component/composer.json new file mode 100644 index 000000000..0f99472a2 --- /dev/null +++ b/src/Component/composer.json @@ -0,0 +1,66 @@ +{ + "name": "web-token/jwt-library", + "description": "JWT Signature and Encryption library.", + "type": "library", + "license": "MIT", + "keywords": [ + "JWS", + "JWT", + "JWE", + "JWA", + "JWK", + "JWKSet", + "Jot", + "Jose", + "RFC7515", + "RFC7516", + "RFC7517", + "RFC7518", + "RFC7519", + "RFC7520", + "Symfony" + ], + "homepage": "https://github.com/web-token", + "authors": [ + { + "name": "Florent Morselli", + "homepage": "https://github.com/Spomky" + }, + { + "name": "All contributors", + "homepage": "https://github.com/web-token/jwt-library/contributors" + } + ], + "autoload": { + "psr-4": { + "Jose\\Component\\": "" + } + }, + "require": { + "php": ">=8.1", + "ext-json": "*", + "ext-mbstring": "*", + "brick/math": "^0.9|^0.10|^0.11|^0.12", + "paragonie/constant_time_encoding": "^2.4", + "psr/clock": "^1.0", + "spomky-labs/pki-framework": "^1.0", + "symfony/console": "^5.4|^6.0|^7.0", + "psr/http-factory": "^1.0", + "psr/http-client": "^1.0" + }, + "suggest": { + "ext-sodium": "Required by the EdDSA signature algorithm", + "ext-openssl": "Required by the OpenSSL signature algorithm such as RSxxx, PSxxx or ESxxx", + "ext-gmp": "GMP or BCMath is highly recommended to improve the library performance", + "ext-bcmath": "GMP or BCMath is highly recommended to improve the library performance", + "spomky-labs/aes-key-wrap": "For AES Key Wrap algorithms", + "symfony/serializer": "Use the Symfony serializer to serialize/unserialize JWS and JWE tokens.", + "web-token/jwt-experimental": "Experimental Algorithms", + "psr/http-client-implementation": "For JKU/X5U support", + "psr/http-factory-implementation": "For JKU/X5U support", + "symfony/http-client": "For JKU/X5U support" + }, + "conflict": { + "spomky-labs/jose": "*" + } +}