Bug 155665

Summary: Rembering GPG Certificates for Digital Signatures on Each Save
Product: LibreOffice Reporter: TokieSan <eltokhy>
Component: LibreOfficeAssignee: TokieSan <eltokhy>
Status: RESOLVED FIXED    
Severity: enhancement CC: eltokhy, heiko.tietze, lo, pierre.choffardet, thb
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:24.2.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105605    

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.