diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-07-11 10:17:04 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-07-11 10:17:04 +0200 |
commit | 83de8c0f5f1db32c1f68f8337566fcd1fd171e8f (patch) | |
tree | 4b53e56f3b39ec42496fc9a9c457968d15c4aa38 /sys/src/cmd/auth | |
parent | 4e04e03142a4e43c208dcf62ca165ad3a05dcc96 (diff) |
authsrv: log message when no AES key is found for pak
Diffstat (limited to 'sys/src/cmd/auth')
-rw-r--r-- | sys/src/cmd/auth/authsrv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/auth/authsrv.c b/sys/src/cmd/auth/authsrv.c index eb95b66c4..925730cf8 100644 --- a/sys/src/cmd/auth/authsrv.c +++ b/sys/src/cmd/auth/authsrv.c @@ -139,6 +139,7 @@ pak1(char *u, Keyslot *k) safecpy(k->id, u, sizeof(k->id)); if(!findkey(KEYDB, k->id, k) || tsmemcmp(k->aes, zeros, AESKEYLEN) == 0) { + syslog(0, AUTHLOG, "pak-fail no AES key for id %s", k->id); /* make one up so caller doesn't know it was wrong */ mkkey(k->id, k); authpak_hash(k, k->id); |