A
A
askold20132018-03-06 19:50:22
Cryptography
askold2013, 2018-03-06 19:50:22

How to sign a pdf using openpgp?

Hello!
Such a question - how to sign a pdf file correctly? There are two problems:
1. If you do it raw, that is, just convert the file into a string and sign it - it will naturally become unreadable.
2. If the file is signed 2 times (with another signature) - the first one ceases to be valid (because it has changed)
Where to sign it so that the file remains as if without visible changes, were there all signatures in it? How is this implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2018-03-07
@jcmvbkbc

you can make a detached signature: gpg -b <подписываемый файл>orgpg -a -b <подписываемый файл>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question