[NOMERGE] Add buendia-security-monitor package.#252
Open
Conversation
Intended for use with the Buendia system key.
Specifically for encryption support.
Essentially, ensure that openmrs.zip and buendia.tar.gz are encrypted using the Buendia system key. The patient chart ZIP is already encrypted with the OpenMRS server password, so we're leaving that untouched for now.
before decrypting. This will hopefully minimize the risk of running out of space on the backup storage device, since the decryption process has to make a copy of the output on disk.
…king.state so that buendia-security-monitor can tell when we were last confirmed connected to a WiFi network.
buendia-security-monitor is designed to remove the Buendia system keys in the event that a Buendia system with user records is configured to talk to a particular wifi network but cannot connect to that network within $SECURITY_MONITOR_TIMEOUT_MINS minutes of booting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements
buendia-security-monitor, which primarily serves the function of removing the local database encryption keys if the server has not connected to the configured wifi network in a preset span of time since boot.This PR is dependent on #251 and is not ready for merge.