Giter VIP home page Giter VIP logo

dynaswap's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dynaswap's Issues

Add a letsencrypt script to the shell-scripts

Just like the shell-scripts/dynaswap-useradd , also add a script that does the following:

  • 1. add nginx as a reverse proxy
  • 2. points all OpenMRS endpoints to 443
  • 3. points all 8000 endpoints to 443
  • 4. adds a letsencrypt ACME script that will create an SSL for the nginx

Lock out users after failed login attempts

From openMRS database use:
user_property (for locking accounts)
global_property security.allowedFailedLoginsBeforeLockout (number of tries)

This will lock out users after many unsuccessful (facial authentication) login attempts

Reading runtime properties should understand escape chars

Some files in Java properties file contain \ (backslash) to include special characters like #,@,$ within value strings. The Python code in the Django app should be able to identify these escape characters and ignore the
e.g. password is 12#456 - so when reading in Python this should be 12#456

Create a framework for integration-tests to get CVSS score

We need to develop a framework, using the Behavior Driven Development (BDD) approach so that all of our security enhancements to JetStream VMs can be evaluated and a CVSS score can be generated.

Once the framework is ready, we need some examples that can generate baseline scores for plain OpenMRS.

Add a DNS router to add new VM entries to a central domain

Deploy a DNS router in a stable location that will listen to input from newly launched VMs, so that they can have their own domain names.

This is a sub-issue of #7 because a subdomain is required to get an SSL certificate. A skeletal startup script that pings the router is available here - https://github.com/iupui-soic/dynaswap/blob/master/shell-scripts/DAR.sh , but this issue is to track the code and updates to create the router itself. The DNS router should be a simple app that takes the IP and user launching the VM and post it to a DNS server.

the default implementation may use a externalized authentication to a REST service to a DNS server.

Create project documentation on wiki

Please use the wiki to document the different parts of our project and checkmark the following or add more, as an when you get those done

  • Introduction about our project (not too technical)
  • The overall project architecture
  • Explaining the different parts of the GitHub codebase
  • How to deploy the image into a JetStream VM
  • How to add users to share a VM
  • Release notes for different versions of the openmrs-base images
  • Future Roadmap

Better synchronization between Django BioCapsule and OpenMRS

Currently, the Django BioCapsule application updates the last_authenticated column in the dynaswap_users table. However, the matching probability is verified and response to the "authentication success" page is shown and it takes time to write to the last_authenticated column.

This makes it hard to authenticate OpenMRS with the same user as the BioCapsule user because we are currently having to use session validation. This might be open to a number of attacks, and it might be better to validate the user internally using the database column. Thus, before the "authentication success" page is shown, the database should be updated for the OpenMRS authentication to validate that the user is correctly authenticated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.