Skip to content

Commit

Permalink
Update CI, dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Apr 28, 2024
1 parent 9a0d5d7 commit 2f47025
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
phpunit-versions: ['latest']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"ext-gmp": "*",
"ext-json": "*",
"ext-openssl": "*",
"paragonie/easy-ecc": "^1",
"paragonie/easy-ecc": "^1.1",
"paragonie/hidden-string": "^1|^2",
"paragonie/paseto": "^3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Types/SecretType.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private function throwIfWrongKeyLength(ProtocolInterface $protocol, int $length)
{
switch ($protocol::header()) {
case 'v3':
if ($length > 47) {
if ($length >= 47) {
return;
}
break;
Expand Down

0 comments on commit 2f47025

Please sign in to comment.