Commit Graph

218 Commits

Author SHA1 Message Date
Christian Hohnstaedt
96d1440672 Move SQL driver options to the settings.ini
Some checks failed
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Has been cancelled
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Has been cancelled
and adopt the documentation
2025-03-31 08:48:25 +02:00
Christian Hohnstaedt
89b7c6beea codespell: Fix spelling issues, no functional changes 2025-03-28 18:11:18 +01:00
Christian Hohnstaedt
70d217b354 Close #641: Keep serial number & revoke old certificate
should not be used at the same time. Actually "Keep serial number"
should generally be used with care.

When checking "Keep serial number", "Revoke old certificate" is disabled
and unchecked and "Replace old certificate" is disabled and checked.
2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
2cc90b8ac6 Close #642: macOS MariaDB plugin requires SSL
Add
 - MYSQL_OPT_SSL_ENFORCE
 - MYSQL_OPT_SSL_VERIFY_SERVER_CERT
 - MARIADB_OPT_TLS_PEER_FP
 - MARIADB_OPT_TLS_PEER_FP_LIST

options to control the SSL behavior.

Especially to disable SSL you need to set
MYSQL_OPT_SSL_VERIFY_SERVER_CERT to false on macosx.
2025-03-28 11:51:51 +01:00
Stefan
3959d24531
Fixed typo 2025-03-27 15:49:40 +01:00
Stefan
fe9d47d0d0
Fixed typo 2025-03-27 15:49:01 +01:00
Stefan
8530343032
Fixed typo 2025-03-27 15:48:17 +01:00
Stefan
890ec7095d
Fixed typo 2025-03-27 15:47:39 +01:00
Christian Hohnstaedt
fee6235724 Close #306 #537 Allow Database-driver options in config file
XCA tries to read Database-driver specific options from
configurartion files in the getUserSettingsDir()
named after the driver and the host.
2024-10-03 10:44:54 +02:00
Christian Hohnstaedt
b2869e0152 Close #537: macos: Compile mariadb-connector and qsqlmysql
Some checks failed
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Has been cancelled
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Has been cancelled
and include them into the app.
This enables Mariadb/Mysql for Mac OSX

Related to #285
2024-10-01 23:20:04 +02:00
Christian Hohnstaedt
53cbeea783 Close #152: How can we specify the Cryptographic Service Provider
Some checks failed
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Has been cancelled
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Has been cancelled
A comment line of the format "CSP: <Provider Name>"
in the private key will be used as CSP during PKCS#12 / PFX
export.
2024-09-30 19:07:12 +02:00
Christian Hohnstaedt
7d3ff4f0f9 Add OpenSSL PURPOSE and validation results
A new tab on the certificate details dialog
shows the result of the OpenSSL validation process
and the calculated OpenSSL Purpose.

The translation of the OpenSSL X509_V_ERR.... messsages
back to strings is done by grepping them from "openssl/x509_vfy.h"
and wrapping them into a macro-call.
Additionally guard them by an #ifdef (Zombieland rule #2: Double-Tap)
This way:
 - I don't need to test and check in which versions of OpenSSL
   which errors are available or not
 - New errors will be picked up automatically, as long as they
   match the "X509_V_ERR_" pattern
2024-09-29 14:12:17 +02:00
Christian Hohnstaedt
d66e2619c7 CMake: fix dependency issue when creating documentation
Some checks are pending
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Waiting to run
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Waiting to run
Changing RST files in doc now result in a recreation
of the HTML and QtHelp files during build.

The sphinx-html and sphinx-qthelp targets need to
depend on sphinx-src to create that target files only once
(and not twice in parallel during parellel builds)
and also on all output files sphinx-src depends on.
.
2024-09-07 11:48:51 +02:00
Christian Hohnstaedt
d5d9e86352 Whitespace fixup for CMake files
replace tabs by spaces
2024-09-06 10:53:02 +02:00
Christian Hohnstaedt
60ca584266 Close #315 Support UPN type for EAP/802.1X certificates
Replace "UPN:" by "otherName:msUPN;UTF8:" when generating
the extension from the Subject- and IssuerAlternativeName.

Extend the Edit dialog of the SAN and IAN by the "UPN" prefix.

Replace "otherName:msUPN;UTF8:" by "UPN:" when creating a template
from an existing certificate or request.

The OpenSSL config file export, the configuration display
and edit on the "Advanced Tab" are not afffected, since
this is an XCA syntax sugar, not supported by OpenSSL.

Update documentation
2024-09-06 10:07:51 +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
5c62100733 CMakeLists.txt: support SOURCE_DIR == BINARY_DIR
In case of SOURCE_DIR == BINARY_DIR the "doc/rst"
directory was the same directory for some copy operations
and dependencies became recursive.

Change the binary "doc/rst" directory to doc/rst-build

Also drop some superflous ""
2024-08-20 23:24:02 +02:00
Christian Hohnstaedt
bc590c8521 Improve changelog
Reuse the generated changelog HTML file
Make sections addressable by DOM search:
  section[id^='xca-" + dashedversion + "'] ul.simple
2024-08-20 11:03:27 +02:00
Christian Hohnstaedt
8193988b01 Do not install xca.qch file
It is not required at runtime
2024-08-20 11:03:27 +02:00
Lorenzo Pini
8f1f1fc323
Typos miscellaneous.rst 2024-06-21 09:36:03 +02:00
Christian Hohnstaedt
0dd587a3f2 Move OpenSSL configuration file generation
Instead of being a special context menu entry,
make it an option in the export dialog.
2024-03-04 12:21:00 +01:00
Christian Hohnstaedt
9acf23cdda Fix documentation typo 2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
45253fae99 Close #516, #502: XCA remote database documentation
Create/copy from README.md documentation about remote databases.
Add Help button to Remote database dialog.

Extend documentation in the Windows msi installer
2024-02-25 01:05:24 +01:00
Christian Hohnstaedt
da42acdc6a Update documentation
Certificate export: Drop entries that are not
available anymore (all Certificates) and
document the OpenVPN export type.
2024-02-18 22:57:57 +01:00
Christian Hohnstaedt
f07d25a076 Update copyright years 2024-02-14 22:33:18 +01:00
Christian Hohnstaedt
751d4260ea Fix documentation typos 2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
e1a4e905c0 Revert "Fix github compile error by using the QT provided compilers"
This reverts commit 0bce272bc7.
2023-09-24 18:21:33 +02:00
Christian Hohnstaedt
0bce272bc7 Fix github compile error by using the QT provided compilers
doc/CMakeLists.txt: Create output directory during configure
phase to avoid a race-condition.
2023-09-24 01:58:13 +02:00
Christian Hohnstaedt
7b2342f5cd Close #457: Support Qt5 < 5.12
Qt5 before 5.12 has to use qcollectiongenerator
instead of qhelpgenerator, which also exists but creates an error.

if qcollectiongenerator prioritize it.
2023-09-23 12:28:15 +02:00
Christian Hohnstaedt
d50381d9cb Fix SQL Option names in man page
With 5f5ed2f22b the old
QT-3.x database names were finally dropped.
Fix documentation.
2023-09-20 17:20:57 +02:00
Christian Hohnstaedt
bdeb9c46ca Document vCalendar/ics feature #456 2023-09-17 10:07:25 +02:00
Christian Hohnstaedt
1176a35fa7 Debugging: allow to select/deselect debug messages
Inspired by the Linux kernels dynamic debugging.
2023-05-28 15:31:33 +02:00
Christian Hohnstaedt
3e284b1245 CMakeLists.txt: Improvements
Use "${QT}::qhelpgenerator" instead of
"find_program(QTCOLLGEN NAMES qhelpgenerator ....)"

Add CACHE Variable QTFIXEDVERSION allowing to force Qt5 or Qt6
if both are installed.
2023-05-23 23:19:34 +02:00
Christian Hohnstaedt
8f2b26e3ab Fix minor documentation typos 2023-05-22 18:43:44 +02:00
Christian Hohnstaedt
d6d6d7d9d4 Update copyright years and adapt build scripts 2023-05-16 10:35:14 +02:00
Christian Hohnstaedt
86f24d1432 Matrix with QT versions 2022-09-02 17:02:40 +02:00
Christian Hohnstaedt
c873cc1a41 Fix installation of documentation
We need the whole directory, including the _static and _sources
sub-directories.

Also silence the QM generation. It was very garrulous.
2022-08-31 00:11:14 +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 Hohnstaedt
e6d23fbd26 Win32: make install creates xca-portable 2022-08-31 00:01:06 +02:00
ambiamber
f4cb91d2f5 In the documention mention creating a datatbase
When I followed the step-by-step documentation for the first time, I was confused at first by the New Certificate button being greyed out.
This commit adds a section which explains creating the database before creating a certificate.
2022-08-30 23:34:03 +02:00
Christian Hohnstädt
683a08eedd cmake: fix dependency issue complained by xcode
Also remove stamp files and simplify CMake rules:
 - Name all generated files in OUTPUT
 - Drop BYPRODUCT, which is not necessary now.
 - Let the target depend on all OUTPPUTs of the command.
2022-08-07 22:30:32 +02:00
Dan Church
21536e608e
Use CMAKE_INSTALL_DOCDIR for docs location 2022-08-02 13:42:44 -05:00
Christian Hohnstaedt
7e51ba9fda Merge remote-tracking branch 'github/main' 2022-07-31 13:09:19 +02:00
Christian Hohnstädt
81a5540ec4 Improve Installation and DMG generation
Design the DMG look & feel, including the documentation

travis is gone. We use github actions
2022-07-11 23:04:27 +02:00
linusklan
882a5cad1b
Bugfix: contents.rst not found
Sphinx error:
master file /home/parallels/xca-2.4.0/doc/sphinx/contents.rst not found
2022-04-07 17:45:16 +02:00
Christian Hohnstaedt
c53aabbbdf Issue #300: Extend documentation about database extraction 2022-02-11 22:28:31 +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