open-eid / DigiDoc4-Client

DigiDoc4 Client is an application for digitally signing and encrypting documents; the software includes functionality to manage Estonian ID-card - change pin codes etc.
https://www.id.ee/en/article/install-id-software/
Other
117 stars 42 forks source link

Signing large files fails #1155

Open andres-halls opened 1 year ago

andres-halls commented 1 year ago

Attempting to sign (with ID-card) a 4 GiB file fails with the following error:

image

However, signing a 3 GiB file works, so the limit is somewhere between 3-4 GiB.

Application version: 4.2.14.4431 (64 bit)
OS: Arch Linux (x86_64/x86_64)
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Kernel: Linux 6.1.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04 Jan 2023 16:28:15 +0000 x86_64

Libraries:
QT (6.4.2)
OpenSSL build (OpenSSL 3.0.7 1 Nov 2022)
OpenSSL current (OpenSSL 3.0.7 1 Nov 2022)
metsma commented 1 year ago

Libdigidocpp does not support zip64 extension therefore 4gib is upper limit