Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Essem
Sharkey
Commits
af2368bd
Commit
af2368bd
authored
1 year ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
perf(backend): use RSA 2048bit
#11129
parent
2cb8e8a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
packages/backend/src/core/CreateSystemUserService.ts
+1
-1
1 addition, 1 deletion
packages/backend/src/core/CreateSystemUserService.ts
packages/backend/src/core/SignupService.ts
+1
-1
1 addition, 1 deletion
packages/backend/src/core/SignupService.ts
with
3 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
af2368bd
...
...
@@ -59,6 +59,7 @@
-
nsfwjs のモデルロードを排他することで、重複ロードによってメモリ使用量が増加しないように
-
連合の配送ジョブのパフォーマンスを向上(ロック機構の見直し、Redisキャッシュの活用)
-
featuredノートのsignedGet回数を減らしました
-
ActivityPubの署名用鍵長を2048bitに変更しパフォーマンスを向上(新規アカウントのみ)
-
リモートサーバーのセンシティブなファイルのキャッシュだけを無効化できるオプションを追加
-
MeilisearchにIndexするノートの範囲を設定できるように
-
Export notes with file detail
...
...
This diff is collapsed.
Click to expand it.
packages/backend/src/core/CreateSystemUserService.ts
+
1
−
1
View file @
af2368bd
...
...
@@ -33,7 +33,7 @@ export class CreateSystemUserService {
// Generate secret
const
secret
=
generateNativeUserToken
();
const
keyPair
=
await
genRsaKeyPair
(
4096
);
const
keyPair
=
await
genRsaKeyPair
();
let
account
!
:
User
;
...
...
This diff is collapsed.
Click to expand it.
packages/backend/src/core/SignupService.ts
+
1
−
1
View file @
af2368bd
...
...
@@ -92,7 +92,7 @@ export class SignupService {
const
keyPair
=
await
new
Promise
<
string
[]
>
((
res
,
rej
)
=>
generateKeyPair
(
'
rsa
'
,
{
modulusLength
:
4096
,
modulusLength
:
2048
,
publicKeyEncoding
:
{
type
:
'
spki
'
,
format
:
'
pem
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment