Commit Graph

2526 Commits

Author SHA1 Message Date
Christian Hohnstaedt
baabc88562 And again 2024-03-08 12:32:57 +01:00
Christian Hohnstaedt
3f1817165a Debug GH action Windows+QT6 2024-03-04 21:47:42 +01:00
Christian Hohnstaedt
1199d776d2 Close #89: ta.key for OpenVPN tls-auth
The ta-key will be generated on-demand and assigned to the
issuing CA. All issued certificates of this CA will use the
same ta-key.

It can be exported as single file and will also be part of the
exported openvpn configuration file.

Extend export tests to validate the output of ta-keys
and adapt the OpenVPN conf file export test to also check the ta-key.
2024-03-04 12:21:00 +01: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 Hohnstädt
8f307d42e9
Merge pull request #534 from xczh/v2.6.0-zh_CN
Update xca_zh_CN.ts
2024-03-04 12:18:56 +01:00
Eric⭐
61c4634618
Update xca_zh_CN.ts 2024-03-03 07:48:00 +08:00
Christian Hohnstaedt
06009705bb Close #496: PKCS11 access to AWS CloudHSM failed
It results in CKR_SLOT_ID_INVALID error.

Use CK_SLOT_ID definition (unsigned long)
consistently. It is 64 bit on Linux.

Especially don't mangle it through an 'int'
in line 226 of lib/pkcs11_lib.cpp
2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
4b37902052 Yubikey select one of the special IDs
Yubikey defines and enforces 4 (NEO) or 24 (YubiKey YK4, YubiKey YK5)
slots with special, fixed names.

Add a dropdown box if "fixed_ids" are present and let the user select
the slot during key generation.
2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
844e74632b Yubikey: add p11.tokenLoginForModification()
to encapsulate the most used configuration and
add the need_SO_for_object_mod() function
to establish a SO-login on yubikeys when modifying items..
2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
d52708e5b4 Consolidate Workarounds for special tokens
to document their use ...
2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
7e3b0e12fd Add pkcs11::closeSession() to fix token management
The Yubikey does not like an open read-only session
while changing items with a write-session
2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
9acf23cdda Fix documentation typo 2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
46e82e254e Constify tokenInfo() and findUniqueID()
No functional change
2024-02-29 17:57:46 +01:00
Christian Hohnstaedt
affc2dca6b Update changelog 2024-02-29 17:57:44 +01:00
Christian Hohnstaedt
52da070dcf Edit Release Notes for 2.6.0 2024-02-26 23:37:20 +01:00
Christian Hohnstaedt
b26f74f326 Release XCA 2.6.0 done 2024-02-26 23:24:03 +01:00
Christian Hohnstaedt
e514484074 Prepare XCA 2.6.0 2024-02-26 21:40:56 +01:00
Christian Hohnstaedt
80f457a9f3 Export Dialog: Avoid appending the wrong extension
If the current file extension does not match the first entry
in the "filter" section of the file dialog, the first extension
is erroneosuly appended to the file name.

Moving "All Files ( * )" in front as first entry avoids this.
2024-02-25 01:07:32 +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
2785376689 Fix deletion of dialog pointers
Don't shadow the CertExtend dlg variable to be freed properly
at the end of the function.
Delete revoke dialog after use.
2024-02-23 15:35:22 +01:00
Christian Hohnstaedt
a25b6c7402 Close #520: permanent processor load
Improve the timer interval maintenance process:
 - Do not fire every second,
   but at most 1 second after the last run
 - Reduce the fired events.
 - Every container now only evaluates its own elements
   (keys, certs,etc.) instead of each container evaluating all
   items and duplicating work

Disable sorting and resizing in the view during initialization,
to speed up opening the database
2024-02-23 12:24:31 +01:00
Christian Hohnstaedt
6b9c16a36a PEM Export of keys: Avoid endless loop
calling the pem() function with one argument
would call us (pem() with 2 arguments) again
and we would call him again. This is no good :-)
2024-02-23 12:21:53 +01:00
Christian Hohnstaedt
8587566613 Fix segfault during cmdline import
Tell the calling process that we consumed and free'd
the pki_multi by returning a null-pointer instead of
a dangling pointer to free'd memory.
2024-02-23 12:17:23 +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
Michael Abmayer
5df98568fb fix build breaking on configure of tzdata-package 2024-02-22 18:29:54 +01:00
Christian Hohnstaedt
8f8003ca5f Github actions: Update checkout and upload actions
Use @v4 to silence the warning;
  Node.js 16 actions are deprecated.
  Please update the following actions to use Node.js 20:
     actions/checkout@v3, actions/upload-artifact@v3.
2024-02-21 23:31:36 +01:00
Christian Hohnstaedt
f9fddc3108 Database schema update: accept newer versions
This actually needs a more sophisticated solution with
schema major.minor version, incrementing the major version
for breaking changes, where old releases should not open newer
databases.

In the past, schema changes were always backward compatible,
i.e. older releases could open newer databases without breaking them.
2024-02-21 23:15:21 +01:00
Christian Hohnstädt
4a9f59fec2
Merge pull request #526 from Bazze69/Italian-translation
Italian translation for 2.6 release
2024-02-20 12:58:14 +01:00
Christian Hohnstaedt
9e7666535a Translate fr.po to xca_fr.ts 2024-02-20 12:50:27 +01:00
Patrick Monnerat
2957332b35 Update french translation 2024-02-20 11:33:20 +01:00
Paolo Basenghi
d8f8fb7f29
Italian translation updated 2024-02-20 11:29:16 +01:00
Paolo Basenghi
adf6f377a7
Update xca.desktop with italian comment 2024-02-20 11:27:22 +01:00
Christian Hohnstaedt
09fa8482be Update brasilian traanslation
Thanks to: Ulisses Guedes <uli1958@hotmail.com>
2024-02-20 06:56:25 +01:00
Christian Hohnstaedt
ec7efed657 Documentation: add information about password format 2024-02-18 23:20:12 +01:00
Christian Hohnstaedt
2688301393 Translation: translate help dialog on language change 2024-02-18 23:12:55 +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 Hohnstädt
2df1dc1354
Merge pull request #525 from nevenko/main
Updated Croatian translation for 2.6.0
2024-02-18 21:52:35 +01:00
Nevenko Bartolincic
a4a414a6e6 Merge branch 'main' of https://github.com/nevenko/xca 2024-02-18 21:19:29 +01:00
Christian Hohnstädt
95a1a080cc
Merge pull request #524 from GH3844HL/main
Dutch Translation for XCA 2.6.0
2024-02-18 14:33:00 +01:00
Guido Pennings
08438255b4
Merge branch 'chris2511:main' into main 2024-02-18 12:33:14 +01:00
Nevenko Bartolincic
106b21398c Updated Croatian translation for 2.6.0 2024-02-17 23:48:08 +01:00
Christian Hohnstädt
5d2acfc482
Merge pull request #522 from atriwidada/main
Updated Indonesian translation
2024-02-17 13:08:24 +01:00
nl02827
8af1316840 Dutch Translation for XCA 2.6.0 2024-02-17 13:05:41 +01:00
Christian Hohnstaedt
9ab0b222bc Update contact information of japanese translator
as requested
2024-02-17 10:57:12 +01:00
Christian Hohnstaedt
42de481005 Update japanese translation
Thanks to: D2N<gritty.hat3143@mx.d2-networks.jp>
2024-02-17 10:40:49 +01:00
Christian Hohnstaedt
45635dfb28 Update slovak translation
Thanx: Slavko <linux@slavino.sk>
2024-02-17 10:37:02 +01:00
Andika Triwidada
40a8194c37 Added Indonesian explanation for xca.desktop 2024-02-17 08:28:07 +00:00
Andika Triwidada
8e1cb956a3 Updated Indonesian translation 2024-02-17 08:26:01 +00:00
Christian Hohnstaedt
3a8ddf486b Reorganize exportdialog 2024-02-16 17:42:13 +01:00