Skip to content

Commit 172c617

Browse files
committed
fix(PDF Signature Checker): fix reading problem
Update pdf-signature-reader to latest version (recently updated with some changes of pdf-signature-reader-jpc) Updated View PEM to a better display with copy Fix CorentinTh#937
1 parent d3b32cc commit 172c617

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ declare module '@vue/runtime-core' {
159159
RouterLink: typeof import('vue-router')['RouterLink']
160160
RouterView: typeof import('vue-router')['RouterView']
161161
RsaKeyPairGenerator: typeof import('./src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue')['default']
162+
SafelinkDecoder: typeof import('./src/tools/safelink-decoder/safelink-decoder.vue')['default']
162163
SlugifyString: typeof import('./src/tools/slugify-string/slugify-string.vue')['default']
163164
SpanCopyable: typeof import('./src/components/SpanCopyable.vue')['default']
164165
SqlPrettify: typeof import('./src/tools/sql-prettify/sql-prettify.vue')['default']

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"netmask": "^2.0.2",
7777
"node-forge": "^1.3.1",
7878
"oui-data": "^1.0.10",
79-
"pdf-signature-reader": "^1.4.2",
79+
"pdf-signature-reader": "^1.4.3",
8080
"pinia": "^2.0.34",
8181
"plausible-tracker": "^0.3.8",
8282
"qrcode": "^1.5.1",

pnpm-lock.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tools/pdf-signature-checker/components/pdf-signature-details.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script setup lang="ts">
22
import type { SignatureInfo } from '../pdf-signature-checker.types';
3+
import TextareaCopyable from '@/components/TextareaCopyable.vue';
34
45
const props = defineProps<{ signature: SignatureInfo }>();
56
const { signature } = toRefs(props);
@@ -88,9 +89,7 @@ const certs = computed(() => signature.value.meta.certs.map((certificate, index)
8889
<template #pemCertificate="{ value }">
8990
<c-modal-value :value="value" label="View PEM cert">
9091
<template #value>
91-
<div break-all text-xs>
92-
{{ value }}
93-
</div>
92+
<TextareaCopyable text-xs :value="value" copy-placement="none" />
9493
</template>
9594
</c-modal-value>
9695
</template>

0 commit comments

Comments
 (0)