Giter Site home page Giter Site logo

corgea / retriever Goto Github PK

View Code? Open in Web Editor NEW
194.0 4.0 18.0 273 KB

Secure secret sharing through the browser using web crypto. No server required!

Home Page: https://retriever.corgea.io

License: MIT License

JavaScript 24.70% HTML 73.04% CSS 2.26%
javascript secret-sharing security

retriever's People

Contributors

abronte avatar asadeddin avatar foamyguy avatar letsgitcracking avatar sherifnada avatar tabualhsan 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

retriever's Issues

TTL on private keys or secrets?

First, this is a lovely solution!

Curious if you've considered adding a lifetime to the secrets. Today it appears as if the originating browser can decode secrets for a while, even after closing/opening the browser.

It would be nice to have some options around the time a secret will be able to get decoded locally. Like 1 hour or 1 day.

Character limit for secrets

As I was trying to encrypt a long message (636 characters), I got Unable to encrypt error message. So I wonder what's the char limit for the secret?

fails with private window

it seems the entire concept of this tool is based on an invasion of privacy.

  1. user A send URL
  2. user B send URL
  3. user A open URL in private window

then:

Unable to load private key

Could not find the private key associated to the public key in the url in the browser. Make sure this is the correct browser and the url is correct. Only the requester can decrypt the secret.

so the intended receiver cant even open the message specifically made for them. it just seems like this whole concept is flawed.

Error pop-up on Firefox for Android with uBlock origin

Thanks for this cool project!

Here's what I see on Firefox for Android with uBlock origin :

IMG_20240124_224710.jpg

The pop-up cannot be dismissed. Not sure why uBlock origin is blocking some stuff here. It works fine if I disable the adblocker

Readme feature claim is a little misleading

This is a interesting and clever idea for sharing secrets. Thank you for publishing it and setting up a demo instance for people to try.

In the list of features visible in the readme it says "No data is sent to a server".

However in the instance of this page hosted at https://retriever.corgea.io/ it is actually sending data to a server including "fingerprint" information about the browser viewing the page and a distinct device ID.

image

The data in this POST request contains URL encoded JSON including: OS, Browser, browser versions, screen size, and distinct device ID.

In the code here it checks the host and initializes the mixpanel tracking:

retriever/index.html

Lines 22 to 24 in a89741b

if (window.location.host === 'retriever.corgea.io') {
mixpanel.init('9f122514d00adff8f7d054318fb8bb45', { track_pageview: true, persistence: 'localStorage' });
}
So it is clear that as written it will only activate for your demo instance of the tool.

I understand that this sort of tracking and analytics is common across the web, and I can see why you'd want that information for the instance of this tool that your hosting as a demo inside of Github. I do not feel there is inherently anything bad or wrong about the inclusion of this functionality.

But honestly It's a little off-putting that this is occurring when the project readme states plainly "No data is sent to a server".

It would be more truthful to rephrase that feature to "Your secrets and the private keys that encrypt them are never sent to a server by retriever"

I believe it would also be best to state explicitly within the readme that the demo instance of the tool does include an analytics tracker that sends data to a server, and in the interest of transparency I believe it would be good to state explicitly what information it does collect even if this information is routinely collecting by similar web analytics and tracking utilities.

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.