Giter Club home page Giter Club logo

finnish's Issues

feat: Add Data API functions

Data API has been disprioritized in favor of Hypermedia API.
That means that a lot of functions are currently missing, like:

  • Get expenses with filter
  • Update expenses
  • Delete expenses

fix: QR code and MFA screen being shown inside of sign in tab.

After #48 , 2fa setup screen was created.
However, I couldn't get it to work in htmx (hx-target to an id further than the direct parent was causing breakage in the error return with hx-target-error and the message div) to overwrite the entire article tag.
So it is buggy, inside of a sign_in tab.

Also, show top nav bar with logout in pseudo-user.
⚠️
Also: maybe it's buggy if user is logged in, then closes (in the qr code page) and opens app (by going to root). Where will he be?
⚠️

feat: add user email confirmation for sign up

feat: auth - Add 2FA

After basic authentication implemented, add a 2 Factor Authentication method
I don't really know how hard this will be, but well...

sec: add rate limiting to public endpoints and more vulnerable endpoints

As said in #60 :
To make the application secure, we need to avoid user enumeration, this PR starts the effort, we need:

This issue is implementing the rate limiting

Audit: pentest the application (sec) and QA

Before launching of working version 0.2, assess security aspects of it, with auth + 2FA, etc.

Pentest

Test spamming with captcha

Also test sec headers
Test with static and dynamic code analysis
Mirai and miri

feat: add captcha

Thinking of spam prevention / security issues, captcha would be a good addition.

Add user authentication

Currently, there is no concept of user in the app, nor authentication.
However, we need to segregate what expenses belong to each user, since the data which will be displayed is sensitive and should be secured.

feat: maybe add password suggestions? idk

sec: make timings consistent when user enumerations would be possible through timing attacks

As stated in #60 :
To make the application secure, we need to avoid user enumeration, this PR starts the effort, we need:

This issue should implement the consistent timings when user exists and when they don't.

audit: add user_id to requests log in tracing

sec: add data api 2fa layer

Currently, data api's only layer of security is the basic auth, without 2FA.
I have to think of the architecture to implement it.

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.