n20-common-lib 2.9.77 → 2.9.78

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.9.77",
3
+ "version": "2.9.78",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -65,9 +65,9 @@ export async function getSign(plain, dn) {
65
65
 
66
66
  await getKeyExist()
67
67
  const certSN = await getCertSN()
68
- if (certSN !== plainText) {
68
+ if (certSN !== dn) {
69
69
  Message.warning('当前Ukey不匹配!')
70
70
  throw new Error('当前Ukey不匹配!')
71
71
  }
72
- return performSign(plain + plainText)
72
+ return performSign(plainText + dn)
73
73
  }
Binary file