Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging hooks #18

Open
fetzerms opened this issue Aug 2, 2018 · 3 comments
Open

Add logging hooks #18

fetzerms opened this issue Aug 2, 2018 · 3 comments
Assignees

Comments

@fetzerms
Copy link
Owner

fetzerms commented Aug 2, 2018

As a system administrator, I want to see when and who retrieves cryptkeys from the cryptserver.
As the logging facilities differ much from system to system and from administrator to administrator,
a general way of adding logging hooks should be installed.

AC:

  • Parameters for logging hooks are defined.
  • The keyserver has to possibility to call (all) logging scripts that reside in a hook directory.
  • The changes are posix compliant (e.g. do not only work with bash)
  • The changes are documented in the README
@fetzerms
Copy link
Owner Author

fetzerms commented Aug 3, 2018

@459below do you think this approach will be ok? I'm unsure about the parameters (and the general approach).

@459below
Copy link
Collaborator

459below commented Aug 3, 2018

If I understand this right, we want to have the capability to log to something simple as syslog, but also keep compatibility to embedded Linux systems like Android, yes?

I see how this approach would solve this problem. One could even implement some sort of notification mechanisms as a hook, if they choose to.

This is how output on SimpleSSHD would already show up on the phone.

screenshot_20180803-150642

@fetzerms
Copy link
Owner Author

fetzerms commented Aug 5, 2018

Yes, this is the general idea. I was planning to implement some notifications to irc as well as mail notifications for key retrievals. Using a hook for syslog would be the most basic example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants