Bug 119593 - Digital Signature with utf-8 Subject is not producing signature
Summary: Digital Signature with utf-8 Subject is not producing signature
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-29 17:16 UTC by Andrii Melashchenko
Modified: 2019-06-12 02:59 UTC (History)
4 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 Andrii Melashchenko 2018-08-29 17:16:31 UTC
Description:
When certificate with Cyrillic letters is installed into Windows certmgr.msc LibreOffice can see it, but didn't add signature.
MS Word 2016 signs - ok

Steps to Reproduce:
1. use the certificate with your private/public key but the same Subject - see additional information
2. install pkcs12 store into ms windows certmgr 
3. add root certificate to trusted
4. use standard digital signature procdure
5. you must see certificate with 
Subject:
            organizationName          = Фізична особа
            commonName                = Мелащенко  Андрій  Олегович
            surname                   = Мелащенко
            givenName                 = Андрій Олегович
            serialNumber              = 321607
            countryName               = UA
            localityName              = Київ
6. when you press "sign" - nothing happens

Actual Results:
no digital signature for the certificate with Cyrillic subject added to odt

Expected Results:
digital signature for the certificate with Cyrillic subject must be added to odt


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
sample certificate
-----BEGIN CERTIFICATE-----
MIIHrDCCBZSgAwIBAgIUZ+UzduL6L5EEAAAAR+gEAFVMCwAwDQYJKoZIhvcNAQEL
BQAwgbsxIDAeBgNVBAoMF1N0YXRlIGVudGVycHJpc2UgIk5BSVMiMSAwHgYDVQQL
DBdDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTElMCMGA1UEAwwcQ0Egb2YgdGhlIEp1
c3RpY2Ugb2YgVWtyYWluZTEZMBcGA1UEBQwQVUEtMzk3ODcwMDgtMjAxNzELMAkG
A1UEBhMCVUExDTALBgNVBAcMB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/h7ekKpEulIPH0foh/Ryezhy959Za3iDu9j4gkT2VD8L+wquBoDFx
AwGXlQB2fVSgLftHUbwQF9DEHC+qc0GcqJCQhtTqrRVhqwr01zZaORWSm+WW+hno
mdRrnqz1Jlsgv3nZ3hBUprzYUD2MWylJwloFbIJDAa50FwMNcvGwc+PnIrgZywa0
Pi7WnsIj8ibt5VYoWW8fYtvZbIn2ueqgfXXUkjVHJVOPO3ogWaeDbDtunLI2f7L1
-----END CERTIFICATE-----
Comment 1 Xisco Faulí 2018-10-19 10:19:53 UTC
@Thorsten, I thought you could be interested in this issue...
Comment 2 Miklos Vajna 2018-11-12 11:23:58 UTC
Can't reproduce. I modified xmlsecurity/qa/create-certs/create-certs.sh to use "Aliceéáőű" instead of "Alice" and I can sign & verify signatures on Windows and master.

Could you test if this is a 6.1 vs master difference?
Comment 3 Xisco Faulí 2018-11-12 14:30:38 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 4 QA Administrators 2019-05-12 17:59:31 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2019-06-12 02:59:17 UTC
Dear Andrii Melashchenko,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp