Commit Graph

36 Commits

Author SHA1 Message Date
Thomas Pike
40ba15610e Add missing backticks and bring sample config in line with README
Resolves: #10
2018-04-17 09:59:02 +02:00
Thomas Pike
ef54569a65 Add missing mbstring dependency
Resolves: #9
2018-04-17 09:31:26 +02:00
Thomas Pike
460bdfccf4 Add missing client-side validation to access request form 2018-04-04 16:54:31 +02:00
Thomas Pike
b2a093a743 Fix exception handling for bad data in server-to-server access request 2018-04-04 16:53:59 +02:00
Thomas Pike
bee24b9b5c Fix access of $config variable in error 500 page 2018-04-04 16:52:18 +02:00
Thomas Pike
ed5d40e99c Add /pubkeys.json to URLs accessible by local accounts 2018-03-27 12:36:16 +02:00
Thomas Pike
0f6dc1de3b Add list of access grants on user page
List contains explicit access rules that have been created for this
user, to server accounts or groups. Access rules that apply through the
user's group memberships are not included (group memberships are
already listed on the page and can be followed for this information),
nor is automatic access to servers with LDAP access included.
2017-12-06 13:36:53 +01:00
Thomas Pike
9371e48f98 Put security advisory into a list element 2017-11-08 12:48:22 +01:00
Thomas Pike
a3900e4c9a Add link to security advisory in README.md 2017-11-08 12:47:30 +01:00
Thomas Pike
c184b031bd Provide mitigation options for SSH redirection vulnerability
The less intrusive options that give most immediate benefit for least
cost are enabled by default:
* Prevent server admins resetting SSH host key
* Block sync if multiple servers have the same SSH host key

An additional option for improved security is included to provide
hostname verification, either based on `hostname -f` or on an explicitly
defined '.hostnames' file.

Resolves: SSH redirection security issue reported by Tobias Josefowitz
of Opera Software
2017-11-08 12:36:26 +01:00
Thomas Pike
ca1562c327 Fix breakage on 404 error page 2017-10-24 17:05:58 +02:00
Thomas Pike
956e637473 Wrap config file comments at 79 chars 2017-10-19 18:46:04 +02:00
Thomas Pike
bb4d4a0764 Replace mentions of "the keys system" with "SSH Key Authority" 2017-10-19 18:43:09 +02:00
Thomas Pike
1a5f2710e4 Remove obsolete upgrade.php script 2017-10-19 13:41:16 +02:00
Thomas Pike
da7ef07f8e Check that user is active before allowing access
Although our initial assumption is that inactive users would be blocked
by the Apache LDAP configuration, it makes sense to also verify the
status within the application itself (particularly in case the
administrator has not configured LDAP in Apache in this way).

Resolves: #3
2017-09-05 17:14:34 +02:00
Thomas Pike
774b2b94eb Fix small error in README Demo section
Here we manage servers, not domains.
2017-08-31 12:46:02 +02:00
Thomas Pike
d7c209d46c keys-sync service installation fixes
Improve documentation and remove hardcoded daemon username when running
under sysvinit. Fix link to GitHub repo in systemd unit file.
2017-08-31 01:51:33 +02:00
Thomas Pike
fa49e80ab8 Add details of demonstration server to README 2017-08-31 01:27:39 +02:00
Thomas Pike
b848b33367 Add screenshots of SKA in action 2017-08-30 19:10:00 +02:00
Thomas Pike
71431fbbba Set a value for email when creating keys-sync account 2017-08-30 18:27:01 +02:00
Thomas Pike
e722766920 Move LDAP protocol set to correct place 2017-08-30 18:06:01 +02:00
Thomas Pike
485f715fa8 Add mention of automatic key removal 2017-08-23 16:46:40 +02:00
Thomas Pike
63d4e5f605 Add DB migration functionality and move inital DB setup into migration 2017-08-23 16:42:09 +02:00
Thomas Pike
29b3f0b731 Remove hardcoded gpg signing key ID 2017-08-22 17:35:34 +02:00
Thomas Pike
4d86410935 Improve show/hide of pubkey add form and help
Use the jQuery show/hide/toggle functions. Also fix the focussing of the
pubkey field.
2017-08-15 14:15:27 +02:00
Thomas Pike
485a817883 Update PuTTY instructions
PuTTY 0.68 added support for elliptic-curve key types and renamed "SSH-2
RSA" to just "RSA". Updated to reflect this. Also fix the ordering of
our instructions to make more sense.
2017-08-14 14:56:00 +02:00
Thomas Pike
631e2b6ba6 Fix error binding to LDAP server with protocol version 3
Patch taken from DNS UI fix by maltris <m@maltris.org>:
  https://github.com/operasoftware/dns-ui/commit/1d8461c
2017-08-14 14:07:40 +02:00
Thomas Pike
f802d7551e Add server account pubkey list to public routes 2017-08-04 12:03:23 +02:00
Thomas Pike
ade3739e9e Add JSON/TXT views of server account public keys 2017-08-02 12:56:37 +02:00
Thomas Pike
c6dac1a385 Add RSA key fingerprint to server status json 2017-08-02 12:25:01 +02:00
Thomas Pike
8acdc15b0f Fix "requested" accounts getting stuck in that status in some cases
Moves the automatic changing of account sync status from "proposed" to
"not synced yet" into the add_access function. This prevents the
following sequence from triggering the bug:

1. Request access to non-existent account
2. Grant access manually (not by accepting the access request)
2017-06-30 12:23:26 +02:00
Thomas Pike
b063e63946 Update CREATE DATABASE statement to include charset
Also state which MySQL/variant servers are supported.
2017-06-07 15:15:18 +02:00
Thomas Pike
d0cffc6094 Remove hard dependency on php-gnupg 2017-06-06 17:23:14 +02:00
Thomas Pike
10f616d625 Fix mysql schema import command 2017-06-06 17:23:01 +02:00
Thomas Pike
d50883b820 Add comment in front of SKA key in legacy sync 2017-06-06 16:10:43 +02:00
Thomas Pike
b464e14873 Initial public commit 2017-06-06 16:07:08 +02:00