Commit Graph

23 Commits

Author SHA1 Message Date
Christian Hohnstaedt
46c1b78577 Close #88: Export to multiple files
Extend the ExportFile dialog by a checkbox to
switch between "all-in-one-file" or every item in a separate
file. It is only visible if more than one file is selected.
Activating the checkbox will:
 - Change the file-input into a directory-input and cut off the
   file name
 - Disabling all formats that are intended for multiple items.
De-activating the checkbox will:
 - Change the directory-input back into a file-input
   and append the previously erased file name again.
 - Disabling all export-formats that are only useful for single items.
2024-09-14 01:13:18 +02:00
Christian Hohnstaedt
71f28ef0e3 Test JWK export
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
2024-09-13 10:41:16 +02:00
Christian Hohnstaedt
14865e5a07 Test #287: template export/import
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
Test the transport of internal name and comment during
export/import of templates.
2024-08-31 14:48:43 +02:00
Christian Hohnstaedt
c08ccf4a5d Export-Test: put all export-data into a sub-directory
Do not litter the top-level build directory with
all the test export-files.
2024-08-30 22:17:52 +02:00
Christian Hohnstaedt
5528c12288 Relates #391: Test export of unusable certificates
An expired one and a revoked one.
2024-08-30 12:21:48 +02:00
Christian Hohnstaedt
64d321375b Test for #364 Export ED25519 private - add Tests
Test export of ED25519 key as SSH2, PEM, PKCS#8 and PKCS#8 encrypted
2024-08-24 15:09:00 +02:00
Christian Hohnstaedt
39da47c217 Drop support of encrypted PVK files.
The RC4 "encryption" is insecure.

The unencrypted PVK key is also insecure, but it does
not give users a false sense of security.
2024-08-20 11:03:27 +02:00
Christian Hohnstaedt
5d0204b8bf Merge remote-tracking branch 'origin/main' 2024-05-30 15:10:31 +02:00
Simin Ghadiri
56f6eaf103 #550: Fix compiling tests issue by providing -pthread link flag. 2024-04-23 10:14:49 +03:30
Christian Hohnstaedt
68b14617cc Add tests for the DateTime input for validity times.
Test the correct behavior of the "Midnight" and setDiff methods.
Especially to keep the time when switching from hidden time (midnoght)
back to shown time.
2024-04-22 19:13:02 +02:00
Christian Hohnstaedt
12e761eec4 Fix renewal test 2024-04-22 19:13:02 +02: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
f07d25a076 Update copyright years 2024-02-14 22:33:18 +01:00
Christian Hohnstaedt
0d100615d7 Always build tests to ease automatic testing 2024-02-14 22:31:33 +01:00
Christian Hohnstaedt
0a1a21608d Close #518: Export certificates for ovpn file
Create ovpn file with "ca", "cert" and "key"
Additionally put all intermediate CAs (if any)
tagged as "extra-certs".

"tls-auth" "OpenVPN Static key V1" not supported (yet)

Extend export-test by OpenVPN test case
2024-02-11 00:29:01 +01:00
Christian Hohnstaedt
d17131d297 Warn in case of weak PFX algorithm configured 2024-02-09 22:21:58 +01:00
Christian Hohnstaedt
4af931e844 Reproduce #493 - Renew Certificate freeze XCA
Add test case for certificate renewal with revocation.
This test case reproduces the crash.
2024-02-06 21:37:02 +01:00
Christian Hohnstaedt
469d24eb7c Test export functionality and indirectly the import 2024-01-22 12:17:01 +01:00
Christian Hohnstaedt
0775dbf113 Move GUI tests to test/ subdir 2024-01-14 23:43:00 +01:00
Christian Hohnstaedt
7b02ae415b Drop ancient approach for testing 2023-10-12 23:58:00 +02:00
Christian Hohnstaedt
2896382ff7 improve autotest
- autotests are still not very usable
2009-11-25 09:01:49 +01:00
Christian
5045a96888 more testing 2007-08-21 21:08:10 +00:00
Christian Hohnstaedt
f7f92b40d3 First approach of a testsuite using Perl X11::GUITest 2007-08-20 19:14:40 +02:00