Set TZ=UTC for pdfsig#5424
Conversation
vitormattos
left a comment
There was a problem hiding this comment.
I made a handmade test here at the terminal and worked fine:
~/Downloads$ env TZ=Europe/Berlin pdfsig test_signed.pdf
Digital Signature Info of: test_signed.pdf
Signature #1:
- Signing Time: Sep 09 2025 14:39:23
~/Downloads$ env TZ=America/Sao_Paulo pdfsig test_signed.pdf
Digital Signature Info of: test_signed.pdf
Signature #1:
- Signing Time: Sep 09 2025 09:39:23
Will be only necessary a small change to go ahead.
Co-authored-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Signed-off-by: Kemal Oktay <iletisim@oktayaktogan.com.tr>
Signed-off-by: Kemal Oktay <iletisim@oktayaktogan.com.tr>
|
Sounds good! Since this change only affects a single line, could you squash, rebase, and fix the DCO and unconventional commits issues locally? |
I don't quite understand. Should I cancel this PR and send a new one? |
Isn't necessary. Only to identify how can I help you to go ahead, did you made this change locally or did you used the GitHub interface to edit the code directly at the browser? |
Local. Then I sent a pull request from the Github page. |
|
I will made here, don't worry. |
|
I remembered that is possible to swash the commits at the PR, directly by GitHub page. Thanks again by your contribution! |
|
/backport to stable32 |
|
/backport to stable31 |
|
/backport to stable30 |
Co-authored-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Signed-off-by: Kemal Oktay <iletisim@oktayaktogan.com.tr>
Co-authored-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Signed-off-by: Kemal Oktay <iletisim@oktayaktogan.com.tr>
Co-authored-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Signed-off-by: Kemal Oktay <iletisim@oktayaktogan.com.tr>
Pull Request Description
Servers whose time zone is not UTC will receive "Invalid signingTime in certificate chain. We found Marty McFly" error.
pdfsig and pdfinfo commands TZ=UTC variable with when executed problem fixed
NextCloud 31
LibreSign 11.3.2
Related Issue
Issue Number: #5347
Pull Request Type
Pull request checklist