Skip to content

Commit 4b762e7

Browse files
authored
Fix typos (#521)
1 parent 9dd48a8 commit 4b762e7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ st: vendor ## Run static analyse
2525

2626
################################################
2727

28-
ci-mu: vendor ## Mutation tests (for Github only)
28+
ci-mu: vendor ## Mutation tests (for GitHub only)
2929
vendor/bin/infection --logger-github -s --threads=$$(nproc) --min-msi=45 --min-covered-msi=60
3030

3131
ci-cc: vendor ## Show test coverage rates (console)

src/Library/Encryption/JWE.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getRecipient(int $id): Recipient
8282
/**
8383
* Returns the ciphertext. This method will return null is the JWE has not yet been encrypted.
8484
*
85-
* @return string|null The cyphertext
85+
* @return string|null The ciphertext
8686
*/
8787
public function getCiphertext(): ?string
8888
{

src/Library/Encryption/JWEBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function addRecipient(JWK $recipientKey, array $recipientHeader = []): se
191191
return $clone;
192192
}
193193

194-
//TODO: Verify if the key is compatible with the key encrytion algorithm like is done to the ECDH-ES
194+
//TODO: Verify if the key is compatible with the key encryption algorithm like is done to the ECDH-ES
195195
/**
196196
* Set the sender JWK to be used instead of the internal generated JWK
197197
*/

src/Library/KeyManagement/Analyzer/MixedKeyTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function analyze(JWKSet $jwkset, MessageBag $bag): void
3434
}
3535

3636
if ($hasAsymmetricKeys && $hasSymmetricKeys) {
37-
$bag->add(Message::medium('This key set mixes symmetric and assymetric keys.'));
37+
$bag->add(Message::medium('This key set mixes symmetric and asymmetric keys.'));
3838
}
3939
}
4040
}

src/Library/KeyManagement/Analyzer/UsageAnalyzer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function analyze(JWK $jwk, MessageBag $bag): void
3030
Message::high(sprintf(
3131
'The parameter "key_ops" has an unsupported value "%s". Please use one of the following values: %s.',
3232
$jwk->get('key_ops'),
33-
implode(', ', ['verify', 'sign', 'encryp', 'decrypt', 'wrapKey', 'unwrapKey'])
33+
implode(', ', ['verify', 'sign', 'encrypt', 'decrypt', 'wrapKey', 'unwrapKey'])
3434
))
3535
);
3636
}

0 commit comments

Comments
 (0)