File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ node_modules
13
13
.php-cs-fixer.cache
14
14
sign.sh
15
15
test.sig
16
- test
16
+ test
17
+ hash-key
18
+ gen_key.sh
Original file line number Diff line number Diff line change 8
8
9
9
return [
10
10
'validation ' => [
11
- ValidateHash::class => 'c34da4a4523e54f303c23cd22eaf252f74ed7965 ' ,
12
- ValidateSignature::class => 'a3d4081247b4f56c8aeb7c6b192415700e27acc0 ' ,
11
+ ValidateHash::class => '5afdc7446da9009f2d95a02a216281544e14e79c ' ,
12
+ ValidateSignature::class => '71627830f8485d02dc48a59e2aa28cc9dea6fe3b ' ,
13
13
Verify::class => 'b9e4048f3543734262582553d2202f9ef5d39b1f ' ,
14
14
VerifySupporterStatus::class => '6358c45ed0414c1e2697e0881238659fa6221bed ' ,
15
15
VerifyServiceProvider::class => '927a8f3c811fc82cb8a0ac2667c06e7d292c3633 ' ,
Original file line number Diff line number Diff line change 4
4
use Illuminate \Database \Schema \Blueprint ;
5
5
use Illuminate \Support \Facades \Schema ;
6
6
7
- return new class () extends Migration {
7
+ return new class extends Migration {
8
8
private const TABLE_NAME = 'configs ' ;
9
9
10
10
public function up (): void
Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ class ValidateHash implements Validator
15
15
16
16
public function __construct (#[\SensitiveParameter] ?string $ hash = null )
17
17
{
18
- // ! TODO change me when we are shipping for real.
19
- $ this ->hash = $ hash ?? '$2y$10$TBBCJeXOa10Y5WwLU.yeQ.4fQS/BujBknIvISyhlPzp.LU9jWIH2W ' ;
18
+ $ this ->hash = $ hash ?? '$2y$10$sKikfvI9bJ5/7JE/Ai.QyOz6nxrEP8mrQ55LN9VwxiMOUihGwWY3m ' ;
20
19
}
21
20
22
21
/**
Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ class ValidateSignature implements Validator
19
19
20
20
public function __construct (#[\SensitiveParameter] ?string $ public_key = null )
21
21
{
22
- // ! TODO change me when we are shipping for real.
23
- $ this ->public_key = $ public_key ?? "-----BEGIN PUBLIC KEY----- \nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEApC/wjenM2UJTxSalbKIfe/W8nTU \nRdNpNubBOcZED2LVJdnEWi4a4tZx71cmjjjbDNItf2/vsu/nrmb+QDf67w== \n-----END PUBLIC KEY----- " ;
22
+ $ this ->public_key = $ public_key ?? "-----BEGIN PUBLIC KEY----- \nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcFqncMi8yaAYvqk9nXx1Cl3dQseN \nWAISTnuW67XBopIemOgbbd6PHRPjmuaVrsd/tXT7NX9aikKpAGrgJI5yQw== \n-----END PUBLIC KEY----- " ;
24
23
}
25
24
26
25
/**
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ class Constants
10
10
public const HASH = '$2y$10$TBBCJeXOa10Y5WwLU.yeQ.4fQS/BujBknIvISyhlPzp.LU9jWIH2W ' ;
11
11
public const HASH_KEY = 'BSIM4-MEVVQ-HVQKG-Q6VNT-KP3EZ ' ;
12
12
public const EMAIL_TEST =
'[email protected] ' ;
13
-
13
+
14
14
public const LICENSE_JSON = 'MEUCIQCSxj5Oe1JoAgrR0lfa4UZksnjPBZjqhuJmRPupu1YJvwIgIRAcwM3r89tLYuO9DOcmOzOHLTX4hPw0FVKwZG8M/2I= ' ;
15
-
15
+
16
16
// public const LICENSE_JSON = 'MEUCIQD3LMOIbvHu9Uj09nHfyBP+AK91SwW7nHxW6Uq+nx9X/wIgagXs8X2UCp9ISrFhpcTzMYXdakDHomU5PKpcTPQIR5o=';
17
17
}
18
18
You can’t perform that action at this time.
0 commit comments