Giter VIP home page Giter VIP logo

hemmeligorg / hemmelig.app Goto Github PK

View Code? Open in Web Editor NEW
645.0 6.0 53.0 15.65 MB

Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.

Home Page: https://hemmelig.app

License: MIT License

Dockerfile 0.32% JavaScript 94.94% CSS 3.57% Shell 0.02% TypeScript 1.15%
secret safe encryption decryption onetimesecret password personal-data gdpr sensitive-data security

hemmelig.app's People

Contributors

adan89lion avatar ajtak avatar bhattabhi013 avatar bjarneo avatar bytebone avatar casperklein avatar dependabot[bot] avatar frflo avatar hello-woof avatar itouakirai avatar jodaatgithub avatar joeywas avatar josiasklaus avatar loviuz avatar ltguillaume avatar lucianomilani avatar luismanson avatar m4-droid avatar mxmeeple avatar najeebkp avatar nyable avatar pranjalagni avatar rhythmicc avatar robertripoll avatar sankalpafernando avatar tanelir avatar theonly1me avatar trivikr avatar tryallthethings avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hemmelig.app's Issues

Image burn after

If the secret has the flag checked where the secret should be burned after the time expires. It should be possible to download the image until then.

API section

Update the API section with information for devs. First, implement create account page. Have to assign the user key:token.

Configurable allowed IP / rate limit header

So, currently the only support for this repository is the "do-connecting-ip" header for digital ocean to fetch the user IP. However, if people self host, they most likely do not have this header.

To do:
Rewrite this part of the code to accept a string from a ENV var injected to the docker container to decide what header to look for. https://github.com/HemmeligOrg/Hemmelig.app/blob/main/src/server/decorators/allowed-ip.js#L15
Set the default header to "do-connecting-ip".

Note, update this code as well: https://github.com/HemmeligOrg/Hemmelig.app/blob/main/src/server/decorators/rate-limit.js#L21

Kubernetes manifests

i18n support

Hi, I'm the guy who asked about translation support in Reddit. Would you consider a PR with some support? Frontend maybe.. I think I can add some basic implementation of react-i18n...

IP restrictions

Allow certain IP range. I.e. if is on a VPN. Per share? Account sets restriction?

What does log in do?

Really, nothing yet. Just providing basic auth name / secret for later usage.

ZAP Full Scan Report

Diffie-Hellman for the encryption

Just as mentioned in my original reddit comment

Ideally the way I think it should be implemented is with an "Expert mode" option. This way non-technical users won't struggle with it.

  1. Alice creates a link and this generates a key pair

  2. Alice sends the link (which contains the public key) to bob

  3. Bob opens the link, and a key pair is created for bob

  4. Bob is prompted to send the public key he has to alice using that same unencrypted channel. Meanwhile the shared key is created and put into a cookie using bobs private key and Alices public key

  5. Alice puts bobs key in the link they generated. This creates the shared key on Alices end.

  6. Alice then puts the secret data they want to send to bob. The Shared key encrypts the data being sent.

  7. Bob then see's the information is available, and decrypts the note because their browser has the shared secret in a cookie.

Branding

Make it possible to brand the self-hosted version.

Make password part of the encryption

It makes it hard though while using bcrypt. Which means the hash is always different. However, might be able to inject the password as a sha, which again is encrypted by tweetnacl. Look into this.

Attachment upload refactor

This code requires a bit of refactoring. Pushed the feature for testing, and will come back to this. Will also enable multi upload for more filetypes. Not just images. Use Signal input field as inspiration

File upload directly to disk

Create an adapter which makes it possible to upload directly to the server where hemmelig is running. By doing this it is possible to eliminate using DO or s3

New logo

Currently, a new logo is in the making.

Security audit

Feel free to audit this application. Would be highly appreciated.

ZAP Full Scan Report

Fix spelling errors in readme.md

There are a couple of spelling errors in README.md -- I've forked the repo and will submit a pull request with the corrections

Dark mode

This might be by default, then light mode has to be turned on.

Refactor secret deletion

Considering to create a queue mechanism here to trigger an event when the time is up for deletion

PWA install prompt

Add script to prompt the user if they want to add the app to their home screen.

Create statistics

  • Collect how many secrets that are currently active
  • Collect how many secrets are burned
  • Collect how many visits to the page

Important: Do not track personal data at all.

None of these should be tracked by 3d party applications.

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.