Christian Hohnstaedt
7078853573
Consolidate Bignum2ByteArray conversion implementations
...
Unify the different implementations of Bignum-to-QByteArray
implementations by our BioByteArray class.
Also support alignment to a minimal bitsize.
2024-09-13 10:41:16 +02:00
Christian Hohnstaedt
6bf6f4384b
Automatically generate documentation of export formats
...
The pki_export class has all information to generate the documentation
2024-08-30 09:30:42 +02:00
Christian Hohnstaedt
0d100615d7
Always build tests to ease automatic testing
2024-02-14 22:31:33 +01:00
Christian Hohnstaedt
f3dc07c00d
Testing: reduce test-declaratipn code
...
by extending the Test() macro
2024-01-16 16:18:57 +01:00
Christian Hohnstaedt
5c3f1b3322
Test: add digest-handling test.
...
The digests itself are tested by OpenSSL
2023-11-03 14:14:18 +01:00
Christian Hohnstaedt
dbe9eaa891
Extend GUI test by PEM import
2023-11-03 13:06:54 +01:00
Christian Hohnstaedt
89b3914ff7
Split tests in "gui" and "console" tests
...
Only execute console tests on github actions
2023-11-02 22:06:23 +01:00
Christian Hohnstaedt
b88a20292e
Move testxca target to the tests target
...
and remove it from the default target (all)
2023-11-02 13:50:30 +01:00
Christian Hohnstaedt
e3791e2609
Add GUI test - testing the NewKey dialog
2023-10-24 17:03:09 +02:00
Christian Hohnstaedt
f28ab5c3bd
Extract cmdline handling from main.cpp
2023-10-16 22:42:36 +02:00
Christian Hohnstaedt
cbaa8eba16
Extract debug_info class from main.cpp
2023-10-16 22:42:36 +02:00
Christian Hohnstaedt
432293ad23
x509name: add module test and fix memory issues
...
Runing module tests with ASAN makes it easier to tackle mamory issues.
2023-10-15 21:15:28 +02:00
Christian Hohnstaedt
2dd2477d62
Add tests for entropy and asn1time
...
Make a1time::get*() const, because functions return a pointer
still owned by a1time.
Switch from deprecated setTimeSpec() to setTimeZone(()
2023-10-15 21:15:28 +02:00
Christian Hohnstaedt
7db5b7049e
Close #405 : member functions of a1int class have memory leaks.
...
Manage ASN1_INTEGER pointer by QSharedPointer
Add AddressSanitizer config to the tests.
2023-10-13 23:38:23 +02:00
Christian Hohnstaedt
e2e142e012
Add some moduletests
2023-10-12 23:58:00 +02:00
Christian Hohnstaedt
80416fb0b0
Split basic functions
...
Extract all functions that only depend on Openssl and QtCore
2023-10-12 23:58:00 +02:00
Christian Hohnstaedt
bd61f44e02
Refactor source file inclusion
...
No libraries needed. Just put all files as source to xca
and those needed for xcadoc to the xcadoc target.
Github Action: create deployments for each matrix result
2022-09-07 20:01:25 +02:00
Christian Hohnstaedt
ced6dfc41a
Add support for Qt6
...
XCA now supports both, Qt6 and Qt5 down to Qt-5.2
Use CMAKE_PREFIX_PATH to point to the QT dompiler directory like
$ cmake -B build -DCMAKE_PREFIX_PATH=$HOME/6.3.1/gcc_64
2022-08-31 00:09:37 +02:00
Christian Hohnstädt
06fbe10d24
cmake: fixup undefined variables
...
Remove unused variables, define variables for all platforms
and fix typo
2022-01-03 20:03:31 +01:00
Christian Hohnstädt
be1a44d0a8
Consolidate export types and format in pki_export class
...
Move the descriptons from the ExportDialog into the
new pki_export class.
Also translate the exportType::etype to F_* flags
2021-10-30 11:51:35 +02:00
Christian Hohnstaedt
61fa66b129
Add digest class encapsulating EVP_MD
...
Enables the separation of the core classes from the hashbox widget
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
f8915fbc98
PwDialog: Split into cmdline-core and GUI
...
Another step to split core and GUI components
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
0c5603ec20
XcaWarning: Split into Core and GUI element
...
one more step to split core and GUI components
2021-06-01 17:48:37 +02:00
Christian Hohnstädt
68273d0a30
Switch from autotools/qmake to cmake
...
Why?
- QT will switch from qmake to cmake sooner or later.
- autotools are good for unix-ish systems, cmake also for
macOS and Xcode as well as Windows and VS-code
- Cross compiling the windows-binaries on linux
is not very helpful to attract windows-centric
developers.
Also drop qmake's xca.pro
Generate man-page and sphinx sources of commandline arguments
during build by executing xca (xcadoc.cpp).
Generating Version-patchlevel and git hash is now also
OS independent.
2021-06-01 17:48:37 +02:00