Christian Hohnstaedt
f98a76eef3
Run Action also on pull request
2022-02-19 18:03:21 +01:00
Christian Hohnstädt
bab9477e69
Merge pull request #336 from melg8/fix_crl_digest
...
Enable usage of hashAlgo digest selected by user for CRL sign
2022-02-19 17:42:01 +01:00
Melg Eight
2d8ebfe227
Enable usage of crlNumber from user
...
Signed-off-by: Melg Eight <public.melg8@gmail.com>
2022-02-16 10:01:27 +03:00
Melg Eight
3f6b0105a3
Enable usage of hashAlgo digest selected by user for CRL sign
...
Signed-off-by: Melg Eight <public.melg8@gmail.com>
2022-02-15 19:24:47 +03:00
Christian Hohnstaedt
c53aabbbdf
Issue #300 : Extend documentation about database extraction
2022-02-11 22:28:31 +01:00
Christian Hohnstädt
d4822cfaf7
Merge pull request #335 from melg8/fix_icons_names
...
Add missing comma between two image names
2022-02-11 22:05:32 +01:00
Christian Hohnstädt
0d26913f40
Merge pull request #334 from melg8/fix_pkcs_8_private_key_encryption
...
Enables usage of aes_256_cbc for private key export
2022-02-11 22:00:00 +01:00
Christian Hohnstädt
a1134f532a
Merge pull request #333 from melg8/fix_memory_3
...
Fix wrong pointer type casting
2022-02-11 21:54:30 +01:00
Christian Hohnstädt
638f02fbdf
Merge pull request #332 from melg8/fix_memory_2
...
Fix possible null pointer dereference
2022-02-11 21:52:08 +01:00
Christian Hohnstädt
8a2daac245
Merge pull request #331 from melg8/fix_memory_1
...
Fix new/delete mismatch
2022-02-11 21:43:05 +01:00
Melg Eight
4063884740
Add missing comma between two image names
...
Before that "" was concatenated with second element so each
call by index to that array would be off by 1.
Signed-off-by: Melg Eight <public.melg8@gmail.com>
2022-02-10 15:06:37 +03:00
Melg Eight
7bef74fb74
Enables usage of aes_256_cbc for private key export
...
Signed-off-by: Melg Eight <public.melg8@gmail.com>
2022-02-10 10:27:24 +03:00
Melg Eight
4e1269974f
Fix wrong pointer type casting
...
Method event can get called with QChildEvent instead of
QHelpEvent.
Signed-off-by: Melg Eight <public.melg8@gmail.com>
2022-02-10 04:20:53 +03:00
Melg Eight
2288ac9e58
Fix possible null pointer dereference
...
Call to temps may return nullptr if dynamic_cast fail to
cast pointer to db_temp* type.
Signed-off-by: Melg Eight <public.melg8@gmail.com>
2022-02-10 04:13:01 +03:00
Melg Eight
3eeb33cb07
Fix new/delete mismatch
2022-02-09 05:37:04 +03:00
Christian Hohnstädt
72ab898db7
Update installation documentation
2022-01-17 21:42:48 +01:00
Christian Hohnstädt
da8efa4381
Add github cmake build instructions
2022-01-03 20:04:34 +01:00
Christian Hohnstädt
ba6ba20a45
dynamic.wxs: Improve OpenSSL DLL path
...
in my msi installation of openssl, the DLL were also installed
in the toplevel directory, which is unusual.
However, they are always also found in bin/
2022-01-03 20:04:34 +01: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
3f5930a4f3
cmake: use BYPRODUCTS keyword to make ninja work
...
this also automatically sets the GENERATED flag.
2021-12-29 12:09:15 +01:00
Christian Hohnstaedt
eea60e7904
Silence sphinx output and avoid duplicate sphinx output
2021-11-20 12:23:37 +01:00
Christian Hohnstädt
4a30db9671
Improve dependencies in cmake files and add sensible defaults
...
Add custom-targets, dependencies and "Generated" properties
to fix race conditions.
Add default paths for my setup on Windows
and MacOSX
2021-11-20 10:55:30 +01:00
Christian Hohnstädt
cdc37538f8
Rename VERSION to VERSION.txt
...
some headers "#include <version>" an find this version
file. Rename it to avoid confusion
2021-11-20 02:12:02 +01:00
Christian Hohnstädt
069f4e6b2d
Drop unused files
2021-11-20 02:12:02 +01:00
Christian Hohnstädt
e92031cf0d
Drop debugging output
2021-11-20 02:12:02 +01:00
Christian Hohnstaedt
c66354ec9d
Close #317 : "Please insert card: ..." message
...
... when multiple PKCS#11 slots are present
Use the same pkcs11 instance to close the session.
Kudos to Christian Svensson for not only finding and reporting
but also fixing this issue.
2021-11-19 09:41:40 +01:00
Christian Hohnstädt
5aec491dd5
More improvements on Windows installer
...
Install Database drivers if available
2021-11-18 23:38:27 +01:00
Christian Hohnstädt
44bf1b4e84
Fix detecting the language directory
2021-11-18 22:42:41 +01:00
Christian Hohnstädt
284b1fa3f4
Call getHomeDir() later, after global constructors
...
This helps getting the directory of the executable
for judging whether we are the portable app or not on windows
2021-11-17 21:50:44 +01:00
Christian Hohnstädt
389b459a99
Windows: re-add application icon
2021-11-14 17:36:03 +01:00
Christian Hohnstaedt
4d401792a9
OpenSSL: Avoid all FILE pointer operations, use QFile
...
For interoprability reason.
To enforce it, set "#define OPENSSL_NO_STDIO 1"
All file access is done by reading/writing from/to BioByteArray()
which is filled by QFile:readAll()
Drop CRYPTO_malloc_debug / CRYPTO_mem_leaks
which is unused and disabled since many years.
2021-11-13 23:53:11 +01:00
Christian Hohnstaedt
d73d4ccd51
Windows MSI: Improve WXS file creation with cmake
...
The long list of translations and html documentation
pages is now auto-generated by the cmake files,
which know the translations and html files. (DRY)
TODO: Windows SQL drivers for mysql and psql
2021-11-13 23:51:04 +01:00
Christian Hohnstaedt
25d2fdabb2
Fix and improve building help and documentation
...
- Always build html documentation if sphinx-build is available.
to be installable during install
- Collect "${D}/qthelp/xca.qhc" "${D}/qthelp/xca.qch" in QTHELP_IDX
and use this instead.
- On linux also install the qthelp in an html subdirectory like WIN32
- Don't instanciate QHelpEngine if no help available.
2021-11-13 14:49:02 +01:00
Christian Hohnstaedt
7ee80dc1e3
Install xca.completion in bash-completion/completions as xca
...
and not as "bash-completion/completions/xca/xca.completion"
2021-11-13 14:49:02 +01:00
Christian Hohnstaedt
2283aa829f
cmake: Set default install dir to /usr/local
2021-11-13 14:49:02 +01:00
Christian Hohnstädt
435602d524
Convert to native separators in calendar items
2021-11-13 14:49:02 +01:00
Christian Hohnstaedt
a70ffe4ff1
Move XcaDialog call from x509_super to XcaWarning
2021-11-13 14:49:02 +01:00
Christian Hohnstaedt
97bece67be
Typo in german translation
2021-11-13 14:49:02 +01:00
Christian Hohnstädt
6ea01e80f6
Refactor item export: separate GUI and database
...
Collect all export formats in pki_export.
Each export format has assigned acouple of flags, indicating,
whether they are text, concatenateable, encrypted, usable for
multiple selections or only for a single item.
2021-11-13 14:49:02 +01:00
Christian Hohnstaedt
48bed71f79
Enable-disable PEM comment checkbox
2021-11-13 13:38:51 +01:00
Christian Hohnstaedt
f2fe9be3f3
Move file loading GUI element out of non-gui container class (db_*)
...
into GUI View widgets/*TreeView.cpp
2021-10-30 11:51:35 +02:00
Christian Hohnstaedt
6efba2bb3e
pkcs7: Fix endless loop when loading PKCS#7 via PEM import
2021-10-30 11:51:35 +02: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
36e02374ff
Put XcaWarningBox on the stack not on the heap
2021-10-24 20:32:12 +02:00
Christian Hohnstädt
8271a1a3e8
MacOS: Fix location of translations
2021-10-24 17:57:23 +02:00
Christian Hohnstädt
b10c6c80ae
Extend PR: #307 : Enable indonesian language
...
Andika Triwidada as indonesian translator
2021-10-24 17:55:35 +02:00
Christian Hohnstädt
68b095e30a
Merge branch 'master' into main
2021-10-24 15:14:59 +02:00
Christian Hohnstädt
eb6eb7b359
Merge pull request #307 from atriwidada/master
...
Add Indonesian translation
2021-10-24 15:13:33 +02:00
Christian Hohnstädt
30e9568278
Merge remote-tracking branch 'github/master' into main
...
gzip command moved from doc/Makefile to doc/CMakeLists.txt
2021-10-24 15:09:58 +02:00
Christian Hohnstädt
d534a6df61
Merge pull request #302 from kpcyrd/repro-gzip
...
Reproducible Builds: Don't embed timestamps in xca.1.gz
2021-10-24 15:08:17 +02:00