Skip to content

Commit

Permalink
Merge all experimental algorithms into a new package and bundle folde… (
Browse files Browse the repository at this point in the history
#501)

Merge all experimental algorithms into a new package and bundle folder simplified
  • Loading branch information
Spomky authored Jan 7, 2024
1 parent f4b1590 commit 1e1ab7a
Show file tree
Hide file tree
Showing 270 changed files with 386 additions and 60 deletions.
4 changes: 3 additions & 1 deletion .gitsplit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ splits:
target: "https://${GH_TOKEN}@github.com/web-token/jwt-console.git"
- prefix: "src/Component/NestedToken"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-nested-token.git"
- prefix: "src/Bundle/JoseFramework"
- prefix: "src/JoseFramework"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-bundle.git"
- prefix: "src/EncryptionAlgorithm/ContentEncryption/AESCBC"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-encryption-algorithm-aescbc.git"
Expand Down Expand Up @@ -45,6 +45,8 @@ splits:
target: "https://${GH_TOKEN}@github.com/web-token/jwt-signature-algorithm-experimental.git"
- prefix: "src/EncryptionAlgorithm/Experimental"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-encryption-algorithm-experimental.git"
- prefix: "src/Experimental"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-experimental.git"
- prefix: "src/Ecc"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-util-ecc.git"
- prefix: "packs/encryption"
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"autoload": {
"psr-4": {
"Jose\\": "src/",
"Jose\\Bundle\\JoseFramework\\": "src/Bundle/JoseFramework/",
"Jose\\Bundle\\JoseFramework\\": "src/JoseFramework/",
"Jose\\Experimental\\": "src/Experimental/",
"Jose\\Component\\Checker\\": "src/Component/Checker/",
"Jose\\Component\\Console\\": "src/Component/Console/",
"Jose\\Component\\Core\\": "src/Component/Core/",
Expand Down Expand Up @@ -170,8 +171,10 @@
"web-token/jwt-signature-algorithm-hmac": "self.version",
"web-token/jwt-signature-algorithm-none": "self.version",
"web-token/jwt-signature-algorithm-rsa": "self.version",
"web-token/jwt-signature-pack": "self.version",
"web-token/jwt-util-ecc": "self.version",
"web-token/signature-pack": "self.version"
"web-token/signature-pack": "self.version",
"web-token/jwt-experimental": "self.version"
},
"suggest": {
"ext-sodium": "Sodium is required for OKP key creation, EdDSA signature algorithm and ECDH-ES key encryption with OKP keys",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/Component/Checker/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Component/Checker/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/Component/Console/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Component/Console/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/Component/Core/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Component/Core/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/Component/Encryption/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Component/Encryption/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/Component/KeyManagement/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Component/KeyManagement/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/Component/NestedToken/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Component/NestedToken/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/Component/Signature/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Component/Signature/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/Ecc/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/Ecc/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
1 change: 1 addition & 0 deletions src/EncryptionAlgorithm/Experimental/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/EncryptionAlgorithm/Experimental/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
11 changes: 2 additions & 9 deletions src/EncryptionAlgorithm/Experimental/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-token/jwt-encryption-algorithm-experimental",
"description": "Experimental Key and Content Encryption Algorithms the JWT Framework.",
"description": "[DEPRECATED] Please use web-token/jwt-experimental instead.",
"type": "library",
"license": "MIT",
"keywords": [
Expand Down Expand Up @@ -32,14 +32,7 @@
"homepage": "https://github.com/web-token/jwt-framework/contributors"
}
],
"autoload": {
"psr-4": {
"Jose\\Component\\Encryption\\Algorithm\\": ""
}
},
"require": {
"php": ">=8.1",
"ext-openssl": "*",
"web-token/jwt-encryption-algorithm-rsa": "^3.2"
"web-token/jwt-experimental": "^3.3"
}
}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/EncryptionAlgorithm/KeyEncryption/AESKW/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/EncryptionAlgorithm/KeyEncryption/PBES2/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: Spomky
patreon: FlorentMorselli
8 changes: 8 additions & 0 deletions src/EncryptionAlgorithm/KeyEncryption/RSA/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
5 changes: 5 additions & 0 deletions src/Experimental/.github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions src/Experimental/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: Spomky
patreon: FlorentMorselli
3 changes: 3 additions & 0 deletions src/Experimental/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions src/Experimental/.github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
daysUntilStale: 60
daysUntilClose: 7
staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A128CCM_16_128 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A128CCM_16_64 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A128CCM_64_128 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A128CCM_64_64 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A256CCM_16_128 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A256CCM_16_64 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A256CCM_64_128 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

final class A256CCM_64_64 extends AESCCM
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
namespace Jose\Experimental\ContentEncryption;

use Jose\Component\Encryption\Algorithm\ContentEncryptionAlgorithm;
use RuntimeException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
namespace Jose\Experimental\KeyEncryption;

final class A128CTR extends AESCTR
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
namespace Jose\Experimental\KeyEncryption;

final class A192CTR extends AESCTR
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
namespace Jose\Experimental\KeyEncryption;

final class A256CTR extends AESCTR
{
Expand Down
Loading

0 comments on commit 1e1ab7a

Please sign in to comment.