发布 0.3.0 并增加 RSA 签名验证

This commit is contained in:
mid
2026-08-13 13:32:56 +08:00
parent 32b7cc827c
commit 0ae6db36cb
27 changed files with 2025 additions and 274 deletions
+8
View File
@@ -33,4 +33,12 @@ describe('form field identity', () => {
expect(missing).toEqual([])
})
it('keeps automatic PSS salt correction separate from user edits', async () => {
const source = await readFile(path.join(projectRoot, 'src/tools/SignatureVerifyTool.vue'), 'utf8')
expect(source).toContain("const scheme = ref<RsaSignatureScheme>('pss')")
expect(source).toContain('@input="customizeSaltLength"')
expect(source).toContain('function customizeSaltLength()')
expect(source).not.toMatch(/watch\s*\(\s*saltLength\b/)
})
})