lauri
17c4e157e7
tests: Attempt to build for trusty and xenial both
2017-05-08 10:27:02 +00:00
lauri
4e41655532
api: Better error message when confronted with NTLM
2017-05-08 10:26:11 +00:00
lauri
545febf3d0
tests: Cover LDAP auth and more
2017-05-07 22:14:58 +00:00
lauri
a4a31ca2c6
Mailer always enabled
2017-05-07 20:49:58 +00:00
lauri
f4d660d5eb
tests: Make coverage xml ignore errors
2017-05-07 20:41:31 +00:00
lauri
b1dd6f0093
tests: Checks for /etc/cron.hourly/certidude
2017-05-07 19:51:40 +00:00
lauri
8440cd840d
tests: Fix race condition bugs
2017-05-07 19:29:07 +00:00
lauri
71e77154d7
tests: Preliminary tests for Kerberos/LDAP auth
2017-05-07 19:11:24 +00:00
lauri
60a0f2ba7c
tests: Set up nchan as part of certidude setup authority
2017-05-06 21:35:02 +00:00
lauri
b19e163a82
tests: Attempt to set up nchan as part of unittests
2017-05-06 21:07:41 +00:00
lauri
de1d182320
Add API call for rendering scripts, bugfixes
2017-05-04 17:56:53 +00:00
lauri
a75fb58cb5
tests: Lease and attribute API call fixes
2017-05-04 10:02:14 +00:00
lauri
8c8a3a9930
tests: Better tagging tests
2017-05-04 09:35:39 +00:00
lauri
94944e37f1
tests: Better coverage for tagging tests
2017-05-04 09:14:47 +00:00
lauri
2ffcc64d86
tests: Test CRL checks on client side
2017-05-04 07:38:49 +00:00
lauri
68f6b9f6f6
tests: Attempt to install NetworkManager
2017-05-04 06:55:26 +00:00
lauri
47d518e250
tests: Create /etc/NetworkManager/system-connections/ in advance
2017-05-04 06:47:53 +00:00
lauri
505fa9d557
tests: Fix NetworkManager setup tests
2017-05-04 06:40:47 +00:00
lauri
9922516d24
tests: Test request deletion and signing API calls
2017-05-03 21:54:08 +00:00
lauri
ba678e4b29
api: Remove unused event_source decorator
2017-05-04 00:24:25 +03:00
lauri
aeb5d81aa6
tests: Generate DH params file in single location
2017-05-03 21:12:51 +00:00
lauri
189c604832
tests: Better code coverage
2017-05-03 21:04:34 +00:00
lauri
a5565439ab
tests: Assume NetworkManager is installed
2017-05-03 14:50:10 +00:00
lauri
47aded48d5
tests: Add e-mailing and more cli commands
2017-05-03 14:42:37 +00:00
lauri
3586aee1d9
tests: Allow coverage to write output from forked processes
2017-05-03 07:13:24 +00:00
lauri
649863a77e
tests: Handle forking
2017-05-03 07:04:52 +00:00
lauri
8f9da9c2f1
tests: Add test for certificate renewal
2017-05-02 06:11:28 +00:00
lauri
06b65444d5
tests: Another attempt to fix code coverage
2017-05-01 23:32:01 +00:00
lauri
a168b19cf2
tests: Attempt to fix codecov
2017-05-01 23:11:46 +00:00
lauri
9a7b806ff6
tests: Fix /run/certidude permissions
2017-05-01 23:06:45 +00:00
lauri
60ff382d74
tests: More verbosity
2017-05-01 22:53:24 +00:00
lauri
86df98a117
tests: Attempt to install certidude system-wide
2017-05-01 22:47:21 +00:00
lauri
a9c29d2fbb
tests: Improvements
2017-05-01 22:41:41 +00:00
lauri
58491e7933
tests: Cleanups
2017-05-01 22:32:55 +00:00
lauri
3c8aef4fd2
tests: Better CA cert checks
2017-05-01 21:52:27 +00:00
lauri
1484ad7826
tests: Fix typo
2017-05-01 21:41:34 +00:00
lauri
c60fd6ac9e
tests: Add requests.get for static serving tests
2017-05-01 21:37:56 +00:00
lauri
227902b563
tests: More debugging info for CRL API calls
2017-05-01 21:19:28 +00:00
lauri
be561cc52f
tests: Add test for export_crl() function
2017-05-01 21:06:28 +00:00
lauri
128369f6f6
tests: More detailed error captures for API calls
2017-05-01 20:49:25 +00:00
lauri
ffdcbcc41a
tests: Attempt to catch CRL export errors
2017-05-01 20:40:22 +00:00
lauri
e228963bd2
api: More detailed logging for CRL API call
2017-05-01 20:25:08 +00:00
lauri
a754c1275d
tests: More API call tests
2017-05-01 20:15:45 +00:00
lauri
451e2b2ad8
tests: Attempt to extract more information
2017-05-01 19:57:53 +00:00
lauri
9668fa549b
tests: More checks for CRL validation
2017-05-01 19:18:50 +00:00
lauri
26876ed972
tests: Fixes
2017-05-01 18:53:28 +00:00
lauri
986953f10f
tests: Prevent nginx setup on Travis
2017-05-01 18:45:15 +00:00
lauri
3b5ef8f45f
tests: Dump command output on exception
2017-05-01 18:37:34 +00:00
lauri
e9c54e1dd1
tests: Disable output capture for pytest
2017-05-01 18:16:50 +00:00
lauri
f7a27c6044
tests: More verbose output while setting up CA
2017-05-01 18:06:47 +00:00
lauri
e0eb3ee471
tests: Create certidude user in advance
2017-05-01 17:56:10 +00:00
lauri
f9eaa94230
tests: Install dependencies system-wide
2017-05-01 17:23:59 +00:00
lauri
6a8af36c99
tests: Run tests as root
2017-05-01 17:19:49 +00:00
lauri
960e7be1f1
tests: Fix typo
2017-05-01 17:13:35 +00:00
lauri
c428be48ff
tests: Modifying /etc/hosts need sudo
2017-05-01 17:10:11 +00:00
lauri
77d7d9fbab
tests: Lazier imports
2017-05-01 17:06:39 +00:00
lauri
bba1edb070
tests: Lazier const import to prevent early FQDN lookup
2017-05-01 16:57:43 +00:00
lauri
bebfb137d6
tests: Attempt to reset hostnames via pytest
2017-05-01 16:49:11 +00:00
lauri
f7248cb8d8
tests: Check for existence of /etc/openvpn
2017-05-01 16:39:12 +00:00
lauri
2629709709
Attempt to specify ca as alias for ca.example.lan
2017-05-01 16:32:06 +00:00
lauri
3f286aa1f8
Click not available in Ubuntu 14.04 repos
2017-05-01 16:26:26 +00:00
lauri
b0683b268d
Attempt to run client as part of unittests
2017-05-01 16:20:50 +00:00
lauri
cc4f13086e
Improve init/openvpn handler
...
* Create systemd service for signaling OpenVPN client after suspend
* Use tun instead of tap
* Update DNS server/domain upon (dis)connect
* Include necessary templates
2017-04-29 22:09:31 +03:00
lauri
e87d1c574b
Mode coverage for token tests
2017-04-26 09:26:14 +03:00
lauri
9aab212647
Add tests for token mechanism
2017-04-26 09:13:41 +03:00
lauri
c3477ef635
Make sure signer is spawned before testing anything
2017-04-26 00:14:02 +03:00
lauri
5ddbf87ed2
Add test for fetching logs
2017-04-26 00:10:12 +03:00
lauri
0168b03f6b
Remove dependency on nonexistant package python-sqlite2
2017-04-25 23:54:08 +03:00
lauri
d6d998a9e6
Add tests for SQLite based logging
2017-04-25 23:42:55 +03:00
lauri
b867eee67e
Add more API tests for lease, attribs etc
2017-04-25 23:32:21 +03:00
lauri
1517b902d6
Add tests for certificate revocation via API
2017-04-25 22:52:49 +03:00
lauri
316fe7aba0
Another attempt to fix PAM auth
2017-04-25 22:29:49 +03:00
lauri
b0f5306297
Attempt to fix PAM auth in Travis
2017-04-25 22:25:36 +03:00
lauri
cd9e896206
Require sudo for Travis
2017-04-25 22:17:19 +03:00
lauri
a5c776621b
Attempt to create test users via Travis
2017-04-25 22:01:18 +03:00
lauri
9ff260c2ea
Add simplepam as dependency for Travis
2017-04-25 21:53:02 +03:00
lauri
15ae064f55
Preliminary tests for auth
2017-04-25 21:47:41 +03:00
lauri
3ef4d96b1c
Use application/x-pem-file mimetype for user certs
2017-04-25 16:48:04 +03:00
lauri
f9429b2e94
Add autosign handling for request submission test
2017-04-25 16:40:33 +03:00
lauri
4c9744308a
Better branch handling for request API calls
2017-04-25 16:15:39 +03:00
lauri
7225726d66
Add request submission API call tests
2017-04-25 16:04:11 +03:00
lauri
4eb3c4146f
Add tests for non-existant certificate
2017-04-25 13:58:21 +03:00
lauri
108b6ebfaf
Use Falcon framework testing modules
2017-04-25 13:52:10 +03:00
lauri
d54982daed
Attempt to handle multithreading in tests
2017-04-25 13:25:21 +03:00
lauri
ba9dca910f
Add tests for API calls
2017-04-25 13:06:59 +03:00
lauri
d5edbe50c5
Token mechanism fixes
2017-04-24 20:33:55 +03:00
lauri
9658d8cc83
Fixes, add some screenshots
2017-04-22 22:48:29 +03:00
lauri
029ee357fb
Token mechanism fixes:
...
* Save token secret to config
* OpenVPN profile fixes for Ubuntu 16.04
* Raise correct exceptions for invalid tokens
* Display token expiration time in local time
2017-04-22 14:10:54 +03:00
lauri
7651c220c8
Remove unused import
2017-04-22 06:04:55 +00:00
lauri
0344141faf
Add token based auth for profiles
2017-04-21 21:22:08 +00:00
lauri
9a793088c6
Use local MTA for sending e-mail
2017-04-21 16:58:01 +00:00
lauri
66e2b5fc35
api: Validate certificate serial only if serial is supplied
2017-04-20 14:17:03 +00:00
lauri
a5b880c020
Fix dependency on subprocess
2017-04-20 05:23:09 +00:00
lauri
5e812f5194
Fixes
2017-04-20 05:20:10 +00:00
lauri
772886e4d4
Fix typo
2017-04-14 20:32:59 +03:00
lauri
ca0386b649
StrongSwan gateway setup script cleanups
2017-04-14 20:21:31 +03:00
lauri
b57fbfa696
Fix typo
2017-04-14 11:08:26 +00:00
lauri
b9ac55fe26
Configuration generation fixes for nchan
2017-04-14 11:06:09 +00:00
lauri
d6265c10d6
Fix font family name for headings
2017-04-14 10:14:14 +00:00
lauri
91f8f09854
StrongSwan client setup fixes
2017-04-14 02:49:11 +03:00