Skip to content

Commit

Permalink
remove encryption methods sm4-xts, 1.2.156.10197.1.104.10 for PHP>=8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rancoud committed May 23, 2024
1 parent 6f0fe7f commit 0077c7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Encryption.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function getAvailableMethods(): array
'camellia-192-cbc-cts',
'camellia-256-cbc-cts',
'null',
'sm4-xts',

Check warning on line 101 in src/Encryption.php

View check run for this annotation

Codecov / codecov/patch

src/Encryption.php#L101

Added line #L101 was not covered by tests
'0.3.4401.5.3.1.9.1',
'0.3.4401.5.3.1.9.21',
'0.3.4401.5.3.1.9.41',
Expand All @@ -110,6 +111,7 @@ public function getAvailableMethods(): array
'1.2.410.200046.1.1.38',
'1.2.410.200046.1.1.39',
'1.2.410.200046.1.1.6',
'1.2.156.10197.1.104.10',

Check warning on line 114 in src/Encryption.php

View check run for this annotation

Codecov / codecov/patch

src/Encryption.php#L114

Added line #L114 was not covered by tests
'1.2.840.113549.1.9.16.3.6',
'1.3.14.3.2.17',
'2.16.840.1.101.3.4.1.1',
Expand Down

0 comments on commit 0077c7a

Please sign in to comment.