pyhanko is a Python package for for stamping and signing PDF files
Questions tagged [pyhanko]
6 questions
1
vote
0 answers
Setting the position of a signature field in Pyhanko
I am using pyhanko for a digital sign app development.
A PDF signature is always contained in a signature field in the PDF’s form structure. Freeware PDF readers that do not have form editing functionality will typically not allow you to manipulate…

MaSao93
- 132
- 1
- 10
0
votes
0 answers
Add custom extension in Cryptography
I use cryptography to create x509 certificates. The code works as intended, but if I try to use it in pyHanko to create signer object for PDF Signing it fails. I need to register the certificate in pyHanko CertificateRegistry. In order to do that it…

KROLN
- 300
- 1
- 13
0
votes
0 answers
Pyhanko positioning an image
I am trying to use pyhanko to add an image (not a signature object) to a PDF. I got to a point that I can add the image, set it's size, but I cannot find how to set it's position. This is the peice of code I wrote:
with…

GuruYaya
- 545
- 3
- 16
0
votes
2 answers
How do I create a visible signature field with pyHanko?
I want to sign a PDF document. I find a way to do it with pyHanko, but the signature is not visible.
I think it's because the field containing the signature is invisible. When I look into the properties of the signature, it says that the field is…
0
votes
1 answer
pyhanko cli Signing produces ConfigurationError: Error while loading key material
When I try to sign a PDF document from the CLI using pyhanko-cli package I get the following error:
This is the command I try to run:
pyhanko sign addsig --field Sig1 pemder --key example2.key --cert example2.crt source/SCRIPT_unsigned.pdf…

cjl
- 53
- 9
-1
votes
0 answers
Which Certificate Authorirties can issue an X.509 certificate for document signing in PEM format?
I am looking to build a custom document signing solution in my Django application using PyHanko. I want to use the certificates from a CA for this purposes. However majority of CAs that I reviewed either offer the complete document signing service…