Commit Graph

2334 Commits

Author SHA1 Message Date
Christian Hohnstaedt
5ed19e689e Optical improvement of main- and help-window 2023-09-15 09:38:29 +02:00
Christian
da01866fc2 Templates: Only support PEM like export format
PEM Format supports adding comments in comparison to binary.
Still support reading older, binary formatted templates.
2023-09-10 09:47:45 +02:00
Christian
8ce8991ec3 Update documentation 2023-09-10 09:12:18 +02:00
Christian Hohnstaedt
96ca26cc83 Integrate bulgarian translation
Thanks to Svetoslav Slavkov
2023-09-03 22:37:02 +02:00
Christian Hohnstädt
c25b9f9e4e
Merge pull request #453 from nimdassdev/main
Bulgarian language support / XCA
2023-09-03 22:12:54 +02:00
Christian Hohnstädt
79d48017ac
Merge pull request #452 from Erfankam/update_lang_fa
#451: Update Persian(Iran) translation .ts file to XCA.
2023-09-03 21:27:35 +02:00
IT Creativity + Art Team
1fdba9ca04
Bulgarian language support / XCA
Bulgarian language support / XCA
2023-09-03 21:38:28 +03:00
Erfan Esmaeili Barzi
330eb111c3 #451: Update Persian(Iran) translation .ts file to XCA. 2023-09-03 17:27:32 +03:30
Christian Hohnstaedt
11a88781f9 Merge branch 'vertical-align-fix' of github.com:gentoo90/xca 2023-05-30 18:39:35 +02:00
gentoo90
1e06d60f8e Fix vertical text alignment in the tree views 2023-05-30 18:41:11 +03:00
Christian Hohnstaedt
061f676041 Improve/simplify item import
Unify import functions for some (on_butImport_clicked)
or all (on_butOk_clicked) items.
They both call "importIndexes(const QModelIndexList &indexes)"
containing some or all indexes to import.

db_x509.cpp: Only need to search the treeItem (containing all items
without issuer, not all in the rootItem (containing also certificates
with known issuer)

Re-use "remFromCont()" when stealing items from an other CA.
2023-05-30 14:38:55 +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
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
8983e5010d Fixup for a548227a07: install translation files again. 2023-05-26 08:00:27 +02:00
Christian Hohnstaedt
9fd0be4bdc Switch to 6.5.1 and drop "Messagebox Workaround" 2023-05-25 23:49:25 +02:00
Christian Hohnstaedt
b126890bd7 Revert "Messagebox: Workaround for error not showing up"
This reverts commit eeedd6ec0e.
2023-05-25 23:23:15 +02:00
Christian Hohnstaedt
827db695b2 Close #368: error while creating CRL with CA using EC key (ed25519)
This fix differs from the proposal in #368 because the signature
of pki_crl::sign() changed after the 2.4.0 release.

However, I was able to increase the bug impact!
Now it crashed instead of only throwing an error! :-)

The signature of the pki_crl::sign() method changed with
commit 61fa66b129, but C++
"outsmarted" me and automatically transformed the EVP_MD == nullptr
into the digest::constructor(EVP_MD) which crashed on the nullptr.
2023-05-25 22:20:27 +02:00
Christian Hohnstaedt
8662eff3ed Basic Constraints Pathlen: restrict input to postitive numbers 2023-05-25 22:19:14 +02:00
Christian Hohnstaedt
8f277ea781 x509v3_ext: Improve error-checking
Validate SAN, IAN, AIA, CRLDP during rollout.
Fix tab-switching when validating new certificate context.

Also work with X509_EXTENSION being nullptr
2023-05-25 22:18:48 +02:00
Christian Hohnstaedt
5f5ed2f22b Remote database names lost their numbers in recent Qt 2023-05-25 21:24:41 +02:00
Christian Hohnstaedt
780225198d macos CMake defaults for local arch, SDK and brew-Qt
The universal binary with older SDK and aqt-Qt will be
built by the release/build-mac.sh script
2023-05-25 21:23:48 +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
eeedd6ec0e Messagebox: Workaround for error not showing up
This was only observed on MacOS on M2 with QT 6.5.0.
Weird ..
2023-05-23 19:48:02 +02:00
Christian Hohnstaedt
8f2b26e3ab Fix minor documentation typos 2023-05-22 18:43:44 +02:00
Christian Hohnstaedt
206fe06066 Update POT 2023-05-22 15:18:50 +02:00
Christian Hohnstaedt
a548227a07 Use Qt6 qt_add_translations to generate translation targets
Keep "trans" target to also update the POT file.
2023-05-22 15:16:26 +02:00
Christian Hohnstaedt
f766fcbe48 Automatic move of translations between contexts
Use sed script to finish unfinished translations.
I only moved the texts from one file to an other, but their meaning
remained.

sed -i 's,translation type="unfinished">\(.\+\)</translation,translation>\1</translation,' lang/xca_*.ts
2023-05-22 10:52:04 +02:00
Christian Hohnstaedt
3524cf63ba Merge branch 'main' into br 2023-05-22 10:41:59 +02:00
Christian Hohnstaedt
982525e2c5 Update translation files 2023-05-22 10:39:46 +02:00
Christian Hohnstaedt
391c97a3d1 Merge github.com:eduardomozart/xca 2023-05-22 09:53:28 +02:00
Christian Hohnstaedt
7f2760e69b Update translation files 2023-05-21 16:36:22 +02:00
Christian Hohnstaedt
72a2fe0903 Run lang/po2ts.sh 2023-05-21 16:35:28 +02:00
Christian Hohnstaedt
d4c23db337 Merge github.com:burasuzu/xca 2023-05-21 16:35:05 +02:00
Christian Hohnstaedt
9bf8de7063 Fix Github Actions
Update actions to @v3 to avoid warnings.
Explicitly install the MinGW GCC package, which happend automatically in
the past.
2023-05-21 14:31:02 +02:00
Christian Hohnstaedt
2ad23f0354 Fix translation installation 2023-05-21 14:20:51 +02:00
Christian Hohnstaedt
331d2ca58b Windows: switch to OpenSSL 3 2023-05-21 14:20:51 +02:00
BURASUZU
a451dcf097 Optimization of Japanese translation 2023-05-20 18:31:43 +09:00
Christian Hohnstaedt
924c56960b Github action: macos: only build for x86 2023-05-19 23:14:43 +02:00
Christian Hohnstaedt
4a81525dd1 Add missing smartCard entry
Otherwise "--list-items" displays an "unknown"
2023-05-19 22:56:17 +02:00
Christian Hohnstaedt
d8da9dd786 Really exit the application, when clicking exit
The password-input dialog of the database has an exit button.
It now really exits the application.
2023-05-19 22:54:20 +02:00
Christian Hohnstaedt
fbc010a1f0 Close #426: Build Error - fix documentation in README.md 2023-05-19 21:10:29 +02:00
Christian Hohnstädt
5a92f68057
Merge pull request #428 from driseley/fix-cka-id-handling
Treat CKA_ID as byte array, not Bignum
2023-05-19 18:18:54 +02:00
Christian Hohnstaedt
d6d6d7d9d4 Update copyright years and adapt build scripts 2023-05-16 10:35:14 +02:00
Christian Hohnstaedt
fdf48c8b5b PR #425: Refresh supported hashes after key generation
There were 2 slots to trigger the switchHashAlgo()
whenever the selected key or request changes.

But their signature for automatic connect()ion was wrong.
After fixing the methods signature, they are connected
and get called whenever the keylist changes and especially,
when a new key is inserted.
2023-05-16 09:49:46 +02:00
Yaroslav Isakov
46c0f7ed25 Fix OpenSSL 3.0 engine asking two times for sign
In commit 9767a3dca7
OpenSSL changed sign behavior, that now it calls sign mechanism two
times - first with NULL output buffer, to get size of it, for next call.
This causes two sign operations in token for ED25519, so, let's detect
NULL buffer and return size of signature.

I haven't tested other type of keys - it's possible that they have
the same issue.
2023-05-16 09:49:46 +02:00
Christian Hohnstaedt
02fc95c70b Reset parent pointer when removing child from container
and use the issuer as parent when inserting it to
put it under the correct issuer
2023-05-16 09:49:46 +02:00
Christian Hohnstaedt
ab17dfd52f Simplify key checking algorithm
Since we dropped OpenSSL < 1.1.1 support, we can use
 EVP_PKEY_public_check() and EVP_PKEY_check()

Thanks to discussion in:
acb75afa6d
2023-05-16 09:49:46 +02:00
Christian Hohnstaedt
d606254f7a Additional attributes when printing PKCS#12 content 2023-05-14 21:49:49 +02:00
Christian Hohnstaedt
7206024d6a Fix deprecation warnings
The proposed "addAction()" with the KeySequence as 2nd argument
is only available soince Qt6.3 and not compatible with QT5
Change the call in a compatible way and set the shortcut afterwards.
2023-05-14 21:49:13 +02:00
Christian Hohnstaedt
fa0d67b26c Adaptions for QT 6.5 and macos
- Create universal binaries
 - re-create menubar to avoid duplications during language change
 - Select MACOS SDK 11 when using  QT-6.5 requiring it.
2023-05-14 21:41:47 +02:00