Commit Graph

287 Commits

Author SHA1 Message Date
Christian Hohnstaedt
a2baa17f79 Prepare XCA 2.9.0 2025-03-28 19:28:15 +01:00
Christian Hohnstaedt
5f4b4dca6f Fix documentation in txt files
and include the "text_header_file.cmake"
into the CMakeLists.txt
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
Christian Hohnstaedt
e46d88f650 Prepare XCA 2.8.0 2024-10-13 14:37:31 +02:00
Christian Hohnstaedt
1105470d9e metainfo.xml: Replace io.github.chris2511.xca 2024-10-13 14:34:07 +02:00
Christian Hohnstaedt
caa0fa2ca4 Adapt osslcodesign script
Reference the new drivers
2024-10-04 16:03:03 +02:00
Christian Hohnstaedt
dc81c25670 Windows style changed from windowsvista to modernwindows
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
From 6.6.3 to 6.7.0
Load the correct style depending on the QT version
2024-10-04 16:01:58 +02:00
Christian Hohnstaedt
7b9d75b97d Close #590: MacOS OpenSSL legacy provider not loaded
Compile-in the legacy module for windows and macos.
I compile the libraries anyway for the releases of those platforms.
2024-09-30 09:05:12 +02:00
Christian Hohnstaedt
4b76522d9e Close #199: Templates and Key Identifiers
Extend all 3 templates.
Skip AKID for self-signed certificates.

Visualize this by disabling the AKID checkbox
if a self-signed certificate is going to be created.
2024-09-29 18:39:00 +02:00
Christian Hohnstaedt
c6304a073d Close #296: Proper plurals
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
Use the provided plural mechanisms of QT.
The "PO" translation also works smoothly and
the translation mechanisms between .po <-> .qt
was tested successfully.

The new english translation file translates
the single phrase:
 "Delete the %n revocation list(s): '%1'?"
into
 "Delete the revocation list: '%1'?" for one item
and
 "Delete the %n revocation lists: '%1'?" otherwise
2024-09-14 10:22:45 +02:00
Christian Hohnstaedt
775939b3ae Close #552: issues with icons in gnome dock
coreApp->setOrganizationDomain() expects the domain
in DNS order (hohnstaedt.de) and not reversed.

Change the WM_CLASS property to "de.hohnstaedt.xca"
via setApplicationName().
While Qt6 prepends the reversed "OrganizationDomain",
Qt5 does not and setting the complete name with
domain-prefix works for both.

Also adopt the ".desktop" file name to follow the application-name
and fix issues found by "desktop-file-validate"
2024-09-07 21:52:29 +02:00
Christian Hohnstaedt
390662afe5 Prepare XCA 2.7.0 2024-08-27 23:26:16 +02:00
Christian Hohnstaedt
da59d1dcf0 Revert "Close #480: add flatpak build information and github action"
This reverts commit 5162369a84.

Keep "de.hohnstaedt.xca.metainfo.xml", because it
is not flatpak specific, but specified by freedesktop:
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html

All this flatpak stuff does not belong here, but
into https://github.com/chris2511/flathub.git
2024-08-20 11:03:27 +02:00
Christian Hohnstaedt
9d92318389 Fix ITMS-90886: Cannot be used with TestFlight
Add the name from the "provisionprofile" to the
entitlements to silence the error and allow
testflights.

Extend legacy.dylib to also include the x86_64 binary

Bump patch version to get new versions
even with commit amending.
2024-07-17 23:32:36 +02:00
Christian Hohnstaedt
add0be8b0b Close #554: Missing option to disable file association in Windows setup
Re-add file associations as extra installation item.
Always install the XCA specific extensions (*.xdb, *.xca)
with the main application, but allow to skip the generic
extensions like *.crl, *.pem, *.crt
2024-07-17 23:32:36 +02:00
Christian Hohnstaedt
b395eaa5cc Close #536: macos include OpenSSL legacy provider
Put it into the "PlugIns" directory and load it from there.
Show whether the legacy-provider was loaded in the About-Dialog.

CmakeLists.txt: Improve OpenSSL Major version detection
and replace the foreach() loop in misc/CMakeLists.txt
by the simpler list(TRANSFORM ...)
2024-03-10 18:53:52 +01:00
Christian Hohnstaedt
c0df4b5740 Close #532: XCA not in English on macos
The "en" language was missing from the list of languages
in Info.plist:CFBundleLocalization.
English is the source language for all translations and
not part of the LANGUAGES_PLIST variable.
The LANGUAGES_PLIST is compiled from the list of all
languages, XCA is translated to.

If no translated language is installed in the system,
the first one from the list will be picked, apparently.

Add static "en" entry to Info.plist:CFBundleLocalizations
as first language-entry and thus as fallback language if nothing
else matched.
2024-03-08 00:31:17 +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 Hohnstädt
c3ab443288
Merge pull request #529 from abmaymic/dockerimage
Dockerimage
2024-02-22 18:56:57 +01:00
Michael Abmayer
252707acf6 Set userid at container startup rather than build time. Update documentation on container invocation and usage with SSH-X-forwarding. 2024-02-22 18:31:58 +01:00
Paolo Basenghi
adf6f377a7
Update xca.desktop with italian comment 2024-02-20 11:27:22 +01:00
Andika Triwidada
40a8194c37 Added Indonesian explanation for xca.desktop 2024-02-17 08:28:07 +00:00
Christian Hohnstaedt
f07d25a076 Update copyright years 2024-02-14 22:33:18 +01:00
Christian
a20e810405 Update Windows build to install legacy.dll
Enable legacy provider to allow loading keys
encrypted with an ancient, insecure
algorithm like "pbeWithSHA1And40BitRC2-CBC" for PKCS#12/PFX

Install the dynamic.dll in the portable app and WIX installer.
2024-02-14 22:27:17 +01:00
Christian Hohnstaedt
1891828d26 Prefix app-icon and desktop-file by de.hohnstaedt.
This is flatpak compatible and does not hurt.
2024-01-14 13:03:06 +01:00
Christian Hohnstaedt
1d42fa6213 Drop unneeded file ExportOptions.plist
When dropped the xcodebuild way with:
  d6d6d7d9d4
the ExportOptions.plist became obsolete
2023-10-24 17:03:09 +02:00
Christian Hohnstaedt
5162369a84 Close #480: add flatpak build information and github action
Reused work of @SharkyRawr for issue #123 - Thanks.
2023-10-24 17:03:09 +02:00
Christian Hohnstaedt
23a044f5ea Support different OSX SDK versions as LSMinimumSystemVersion
Also reduce the minimum SDK to 10.15 for the official build.
2023-10-10 21:03:40 +02:00
Christian Hohnstaedt
84b4c3b73a Macos: Transporter says it wants LSHandlerRank 2023-10-09 23:03:12 +02:00
Christian Hohnstaedt
3e62f11230 Add File extensions in Info.plist supported by XCA
Inspired by the "/System/Applications/Utilities/Keychain Access.app"
Info.plist: cert, cer, der, crt, p7c, pem, p7b, p7r,
p10, csr, p12, pkcs12, pfx
2023-10-07 20:36:09 +02:00
Christian Hohnstaedt
ed074537f7 Translations: Fix warning in xca.ts and add languages to Info.plist 2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
be31b6e22e Make XCA AppStore compliant with -DAPPSTORE_COMPLIANT=ON
APPSTORE_COMPLIANT = ON:
 - Turns off the File menu and moves the language selector to
   the "Extra" Menu. "Options" and "Exit" are at the xca-macos
   special-menu anyway.
 - Switches the signing key from "Developer ID Application" to
   "3rd Party Mac Developer Application"
 - Sets the database name to "default.xdb"
 - Adds "-appstore-compliant" option to macdeployqt
 - Picks the "entitlement-appstore-compliant.plist"
 - Disables the "Token" menu and "PKCS#11 provider" tab
   in the option dialog
2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
0c5f48898d Consolidate SQL Driver delivery
Only deliver the QT SQL plugins and document the installation
of the client libraries.
2023-09-17 08:57:27 +02:00
Christian Hohnstaedt
22c37082da macos: re-add entitlements when codesigning
Remove sandbox to allow loading PKCS#11 library loading.
Set -fvisibility=hidden to not export symbols.
2023-05-28 15:30:53 +02:00
Christian Hohnstaedt
331d2ca58b Windows: switch to OpenSSL 3 2023-05-21 14:20:51 +02:00
Christian Hohnstaedt
d6d6d7d9d4 Update copyright years and adapt build scripts 2023-05-16 10:35: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
5441d91b18 Fix runtime error because of wrong DLL 2022-08-31 00:01:06 +02:00
Christian Hohnstaedt
e6d23fbd26 Win32: make install creates xca-portable 2022-08-31 00:01:06 +02:00
Christian Hohnstädt
f7a6c39219 Support building with xcodebuild
Link that helped:

https://www.hotzi.com/blog/20210306-cmake-xcode-archive-problem/
2022-08-07 22:30:32 +02:00
Christian Hohnstaedt
bb37b56e86 Merge #325 Update entitlement.plist
Enabling Library Validation Entitlement is only good if an application
does not load any libraries other than its own

xca works by loading external pkcs11 libraries, written and signed by others.

Also apply for smartcard usage.
2022-08-03 07:36:33 +02:00
Christian Hohnstaedt
3432c164dd Add vcruntime140.dll 2022-07-28 02:16:38 +02:00
Christian Hohnstädt
c0b3ddb719 Adapt Manufacturer 2022-07-11 23:04:27 +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
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
5aec491dd5 More improvements on Windows installer
Install Database drivers if available
2021-11-18 23:38:27 +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
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 Hohnstädt
76763ea98c cmake: include() the CMakeLists.txt file
instead of add_subdirectory() them.

in all subdirectories set ${S} and ${D}
as shortcuts for CMAKE_CURRENT_SOURCE_DIR
and CMAKE_CURRENT_BINARY_DIR
2021-06-01 17:48:38 +02:00
Christian Hohnstaedt
6de3816a4a cmake: Improve creating the .txt files
Use the preamble file
2021-06-01 17:48:37 +02:00