Skip to content
Open

libcdoc #1329

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
4ba0798
Latest DigiDoc/CDoc
Aug 6, 2025
5ad7abf
Attached libcdoc submodule
Aug 6, 2025
cb5d796
Fixed logging for Qt < 6.5
Aug 6, 2025
670c1d5
qFatal fix for Qt < 6.5
Aug 6, 2025
2026f4e
QFatal -> qFatal
Aug 6, 2025
41a9fbc
Merge branch 'master' into libcdoc
Nov 6, 2025
345175d
Merge fixes
Nov 6, 2025
8aad034
Fixed build.yml
Nov 7, 2025
423ee02
Updated libcdoc
Nov 7, 2025
5063b06
Updated sendKey and timestamp calculation
Nov 7, 2025
d72f4fb
Update MacOS deployment target
Nov 7, 2025
e8d1c31
Improve
metsma Aug 19, 2025
340f66b
Use new Expire date
metsma Nov 7, 2025
36f1b9f
Clean up error handling and background processing
Dec 18, 2025
28314fe
Remove invalid XML1.0 characters from Role/City... fields
Jan 2, 2026
a562d02
Use iterator
Jan 2, 2026
7c5d330
Use reserve/append instead of resize
Jan 2, 2026
ee688ca
Use libcdoc labels handling
metsma Jan 5, 2026
239bdf8
Avoid allocations and handle servers without x-expiry-time support
metsma Jan 5, 2026
aad42d9
Show certificate and remove unused code
metsma Jan 5, 2026
206be6d
Merge branch 'libcdoc'
Jan 5, 2026
f8d124f
Merge fixes
Jan 5, 2026
c79e04e
Merge fixes
Jan 5, 2026
984d297
Dev
metsma Jan 5, 2026
7277c9b
Update to latest versions
Jan 7, 2026
3434808
Merge branch 'master' into libcdoc
Jan 7, 2026
22be11a
Fix Ubuntu compilation
Jan 7, 2026
b9430d2
Mark functions noexcept that cannot throw
metsma Jan 20, 2026
b4ce1e2
Merge branch 'master' into megamerge
Jan 28, 2026
7245985
Compilation fixes
Jan 28, 2026
ea84c25
Removed waitFor from sendKey implementation
Jan 29, 2026
f34e3a1
Fixed encrypting with keyserver
Jan 29, 2026
0a0895e
CodeQL fix
Jan 30, 2026
52e89bc
Remove Crypto class
metsma Jan 30, 2026
2628c03
Remove unused QThread
metsma Jan 30, 2026
28abe4b
Show Issuer info in key dialog
metsma Jan 30, 2026
383e73d
Show certificate dialog from lock
Jan 30, 2026
5bdf238
Fix build
metsma Jan 30, 2026
4c4af90
Fix expire date and AddressItem layout
metsma Jan 30, 2026
f8b65fb
Show all lock types
metsma Jan 30, 2026
50586ce
Enable password encryption
metsma Jan 30, 2026
dbb5cf6
Fix build
metsma Jan 30, 2026
69ebb7e
Merge branch 'master' into libcdoc
metsma Feb 2, 2026
1ae8164
Fix build
metsma Feb 2, 2026
b7ff162
Handle PIN status in QSigner::decrypt and DDCryptoBackend
Feb 4, 2026
959e719
Adjust PasswordDialog UI
metsma Feb 5, 2026
118065e
Fix build
metsma Feb 10, 2026
816c17d
Adjust encryption flow
metsma Feb 10, 2026
73a3eed
Merge branch 'master' into libcdoc
metsma Feb 12, 2026
9136518
Update libcdoc
metsma Feb 12, 2026
12ca511
Merge branch 'master' into libcdoc
metsma Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ permissions:
env:
BUILD_NUMBER: ${{ github.run_number }}
CMAKE_BUILD_PARALLEL_LEVEL: 4
UBUNTU_DEPS: ./libdigidocpp-pkg/*.deb cmake libldap2-dev gettext libpcsclite-dev libssl-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libflatbuffers-dev zlib1g-dev
UBUNTU_DEPS: ./libdigidocpp-pkg/*.deb cmake libldap2-dev gettext libpcsclite-dev libssl-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libflatbuffers-dev libxml2-dev zlib1g-dev
jobs:
macos:
name: Build on macOS
runs-on: macos-latest
env:
MACOSX_DEPLOYMENT_TARGET: 13.0
MACOSX_DEPLOYMENT_TARGET: 13.3
LIBS_PATH: ${{ github.workspace }}/cache
steps:
- &Checkout
Expand Down Expand Up @@ -186,7 +186,8 @@ jobs:
VCPKG_BINARY_SOURCES: clear;files,${{ github.workspace }}/vcpkg_cache,readwrite
run: |
cmake "-GNinja" -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo `
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake `
-DVCPKG_MANIFEST_DIR=${{ github.workspace }}/client/libcdoc
cmake --build build --target msi
cmake --build build --target msishellext
cmake --build build --target appx
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "common"]
path = common
url = ../qt-common
[submodule "client/libcdoc"]
path = client/libcdoc
url = ../libcdoc
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ find_package(libdigidocpp 4.2.0 REQUIRED HINTS /Library)
message("-- Found libdigidocpp: ${libdigidocpp_DIR} (found version \"${libdigidocpp_VERSION}\")")
find_package(LDAP REQUIRED)
find_package(Qt6 6.2.0 REQUIRED COMPONENTS Core Widgets Network PrintSupport SvgWidgets LinguistTools)
find_package(FlatBuffers CONFIG REQUIRED NAMES FlatBuffers Flatbuffers)
find_package(ZLIB REQUIRED)

if(APPLE)
add_subdirectory(extensions/DigiDocQL)
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
3. Configure

cmake -B build -S . \
-DCMAKE_PREFIX_PATH=~/cmake_builds/Qt-6.6.3-OpenSSL
-DCMAKE_PREFIX_PATH=~/cmake_builds/Qt-6.10.2-OpenSSL
-DOPENSSL_ROOT_DIR=~/cmake_build/OpenSSL \
-DLDAP_ROOT=~/cmake_build/OpenLDAP \
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
Expand All @@ -81,10 +81,11 @@
### Windows

1. Install dependencies from
* [Visual Studio Community 2019](https://www.visualstudio.com/downloads/)
* [Visual Studio Community 2022](https://www.visualstudio.com/downloads/)
* [http://www.cmake.org](http://www.cmake.org)
* [http://qt-project.org](http://qt-project.org)
* [libdigidocpp-*.msi](https://github.com/open-eid/libdigidocpp/releases)
* [vcpkg](https://vcpkg.io/)

2. Fetch the source

Expand All @@ -93,7 +94,10 @@

3. Configure

cmake -G"NMAKE Makefiles" -DCMAKE_PREFIX_PATH=C:\Qt\6.6.3\msvc2019_x64 -DLibDigiDocpp_ROOT="C:\Program Files (x86)\libdigidocpp" -B build -S .
cmake -G"NMAKE Makefiles" -B build -S . `
-DCMAKE_PREFIX_PATH=C:\Qt\6.10.2\msvc2022_x64 `
-DLibDigiDocpp_ROOT="C:\Program Files (x86)\libdigidocpp" `
-DVCPKG_MANIFEST_DIR=client/libcdoc

4. Build

Expand Down
2 changes: 2 additions & 0 deletions client/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include "Common.h"
#include "Configuration.h"
#include "CDocSupport.h"
#include "MainWindow.h"
#include "QSigner.h"
#include "QSmartCard.h"
Expand Down Expand Up @@ -471,6 +472,7 @@ Application::Application( int &argc, char **argv )
setQuitOnLastWindowClosed( true );
return;
}
DDCDocLogger::setUpLogger();

QMetaObject::invokeMethod(this, [this] {
#ifdef Q_OS_MAC
Expand Down
Loading
Loading