@quenty/secrets 1.1.0 → 1.2.0-canary.348.7dc6147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/package.json +13 -13
- package/src/Server/SecretsService.lua +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.2.0-canary.348.7dc6147.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/secrets@1.1.0...@quenty/secrets@1.2.0-canary.348.7dc6147.0) (2023-04-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Secrets encryption got reset if done before init ([8b0b0fb](https://github.com/Quenty/NevermoreEngine/commit/8b0b0fb01fc9da5f52aca262f21074f061f4ec8f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# 1.1.0 (2023-03-31)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/secrets",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-canary.348.7dc6147.0",
|
|
4
4
|
"description": "Secrets storage system and API surface",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/cmdrservice": "
|
|
29
|
-
"@quenty/datastore": "
|
|
30
|
-
"@quenty/ellipticcurvecryptography": "
|
|
31
|
-
"@quenty/loader": "
|
|
32
|
-
"@quenty/maid": "
|
|
33
|
-
"@quenty/permissionprovider": "
|
|
34
|
-
"@quenty/promise": "
|
|
35
|
-
"@quenty/remotefunctionutils": "
|
|
36
|
-
"@quenty/remoting": "
|
|
37
|
-
"@quenty/rx": "
|
|
38
|
-
"@quenty/servicebag": "
|
|
28
|
+
"@quenty/cmdrservice": "7.11.0",
|
|
29
|
+
"@quenty/datastore": "7.11.0-canary.348.7dc6147.0",
|
|
30
|
+
"@quenty/ellipticcurvecryptography": "1.1.0",
|
|
31
|
+
"@quenty/loader": "6.2.0",
|
|
32
|
+
"@quenty/maid": "2.5.0",
|
|
33
|
+
"@quenty/permissionprovider": "8.10.0",
|
|
34
|
+
"@quenty/promise": "6.4.0",
|
|
35
|
+
"@quenty/remotefunctionutils": "6.4.0",
|
|
36
|
+
"@quenty/remoting": "6.4.0",
|
|
37
|
+
"@quenty/rx": "7.9.0-canary.348.7dc6147.0",
|
|
38
|
+
"@quenty/servicebag": "6.6.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "7dc6147924e8746ae6529e7e33e16da01d59d4a6"
|
|
44
44
|
}
|
|
@@ -24,10 +24,11 @@ function SecretsService:Init(serviceBag)
|
|
|
24
24
|
self._gameDataStoreService = self._serviceBag:GetService(require("GameDataStoreService"))
|
|
25
25
|
self._permissionsService = self._serviceBag:GetService(require("PermissionService"))
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
if not self._publicKey then
|
|
28
|
+
-- Encryption at rest. Not really secure but if the public key seed is not set
|
|
29
|
+
self:SetPublicKeySeed(game.GameId)
|
|
30
|
+
self._warningRequired = true
|
|
31
|
+
end
|
|
31
32
|
|
|
32
33
|
-- Internal
|
|
33
34
|
self._serviceBag:GetService(require("SecretsCommandService"))
|