发布 0.3.0 并增加 RSA 签名验证
This commit is contained in:
@@ -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/)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user