diff --git a/Pdf4QtViewer/pdfsidebarwidget.cpp b/Pdf4QtViewer/pdfsidebarwidget.cpp index c2469b4..3349cf0 100644 --- a/Pdf4QtViewer/pdfsidebarwidget.cpp +++ b/Pdf4QtViewer/pdfsidebarwidget.cpp @@ -553,7 +553,8 @@ void PDFSidebarWidget::updateSignatures(const std::vectorsetIcon(0, infoIcon); pdf::PDFCertificateInfo::KeyUsageFlags keyUsageFlags = currentCertificateInfo.getKeyUsage(); - if (keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageCertSign)) + if (keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageCertSign) || + keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageDigitalSignature)) { m_certificateInfos.push_back(currentCertificateInfo); certRoot->setData(0, Qt::UserRole, QVariant(static_cast(m_certificateInfos.size() - 1))); diff --git a/RELEASES.txt b/RELEASES.txt index f68a226..fbde65c 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -1,4 +1,5 @@ CURRENT: + - Issue #161: Can it be possible to trust a certificate like in acrobat? V: 1.3.7 10.1.2024 - Issue #142: Cannot reach the top