Skip to content

refactor(api): derive JWT public key from private key - #513

Merged
Penty-d merged 1 commit into
mainfrom
feat/public-key
Aug 1, 2026
Merged

refactor(api): derive JWT public key from private key#513
Penty-d merged 1 commit into
mainfrom
feat/public-key

Conversation

@ACaiCat

@ACaiCat ACaiCat commented Aug 1, 2026

Copy link
Copy Markdown
Member

自查 PR 结构

  • PR 标题符合这个格式: <type>(optional scope): <description>

  • 此 PR 标题的描述以用户为导向,足够清晰,其他人可以理解。

  • 我已经对所有 commit 提供了签名(GPG 密钥签名、SSH 密钥签名)

  • 这个 PR 属于强制变更/破坏性更改

如果是,请在 PR 标题中添加 BREAKING CHANGE 前缀,并在 PR 描述中详细说明。

这个 PR 的类型是什么?

refactor

这个 PR 做了什么 / 我们为什么需要这个 PR?

从JWT私钥生成并缓存公钥,删除硬编码公钥

原来公钥硬编码在constants包,部署测试就要改那个常量

(可选)这个 PR 解决了哪个/些 issue?

对 Reviewer 预留的一些提醒

@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main     #513      +/-   ##
==========================================
- Coverage   64.93%   63.84%   -1.10%     
==========================================
  Files         236      236              
  Lines        6312     6312              
==========================================
- Hits         4099     4030      -69     
- Misses       2075     2147      +72     
+ Partials      138      135       -3     
Flag Coverage Δ
unittest 63.84% <ø> (-1.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ACaiCat
ACaiCat marked this pull request as ready for review August 1, 2026 10:09
@ACaiCat
ACaiCat requested review from a team, jiuxia211, mutezebra and ozline as code owners August 1, 2026 10:09
@Penty-d
Penty-d merged commit a2eb592 into main Aug 1, 2026
10 checks passed
@Penty-d
Penty-d deleted the feat/public-key branch August 1, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants