Bug 155665 - Rembering GPG Certificates for Digital Signatures on Each Save
Summary: Rembering GPG Certificates for Digital Signatures on Each Save
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: TokieSan
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Digital-Signatures
  Show dependency treegraph
 
Reported: 2023-06-03 15:18 UTC by TokieSan
Modified: 2023-07-10 06:43 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TokieSan 2023-06-03 15:18:41 UTC
In the case a file is digitally signed, in most cases files would need need to have the certificate remembered rather than having the hassle of rechoosing the certificate from a set that can be very large every save which is a confusing process. 

Reproduction can be done as follows:
1. Create a document
2. Digitally sign it
3. Change something and try to redo the digital signature

Currently, I will be working on implementing the option of remembering the chosen certificate for some file as an option to the dialog of choosing the digital signature. 

*Please note that this is a part of GSoC'23. More info here: https://tokiesan.github.io/blogposts/gsoc/index.html*
Comment 1 TokieSan 2023-06-03 16:19:30 UTC
In addition, this issue is not only in digitally signing documents but occur as well in case of GPG encrypting a document.
Comment 2 Commit Notification 2023-06-18 20:04:40 UTC
TokieSan committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/46722dbaa7795074e3c5043a76ae3f3a7782491e

tdf#155665 Adding option to remember signatures for each save

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.