TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: CryptoNote is an open source, encrypted, one time view message app

55 pointsby alainmeieralmost 12 years ago

6 comments

daekenalmost 12 years ago
Good on you for having a list of known weaknesses, but here&#x27;s the one that really makes this completely unsafe:<p>The server dictates what&#x27;s run on the page, and thus can access the plaintext data in any way it sees fit. The trust model is fundamentally broken in client-side crypto of this nature.<p>Edit with two more thoughts: 1) Even if you trust the person running the service, how much do you trust the other users (who may be using stored XSS to compromise your data)? How much do you trust the hosting service behind it, if there is one? 2) Am I the only one that finds it massively irresponsible to not have a huge flashing &quot;DO NOT TRUST THIS UNTIL IT&#x27;S BATTLE HARDENED&quot; sign over it? This goes for just about every project of this nature.<p>Edit with a final thought: Most of the time, we think in terms of &quot;relative goodness&quot;. A good car is better than a bad car, but a bad car is still better than no car at all. This logic <i>completely breaks</i> when it comes to crypto. Simply put, bad crypto (and bad implementations) when released on the world put lives at risk. This should be taken seriously.<p>It&#x27;s one thing to build a project for learning (and please, please do!) but cover every friggin&#x27; surface you can with disclaimers.
评论 #5841310 未加载
评论 #5840766 未加载
评论 #5840655 未加载
评论 #5840751 未加载
alfgalmost 12 years ago
This is neat, and the I really like the UI too.<p>I made something similar (except the one-time view part) not too long ago just to experiment with storing the base64 encoded message into the URL. It also has an option to add a key, which uses a javascript implementation of blowfish.<p><a href="http:&#x2F;&#x2F;alfg.co&#x2F;jot" rel="nofollow">http:&#x2F;&#x2F;alfg.co&#x2F;jot</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;alfg&#x2F;jot" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alfg&#x2F;jot</a><p>Since the message is stored within the URL, there&#x27;s no backend needed, though that means the message needs to be short since most modern browsers can only support up to about 2000 characters in the URL and the messages can generate a long base64 string rather quickly.
评论 #5841243 未加载
jhormanalmost 12 years ago
Looks useful. I am seeing though<p>message[pre_encryption]<p>with my unencrypted message in the POST data?
评论 #5840571 未加载
manish_gillalmost 12 years ago
Also see: <a href="https:&#x2F;&#x2F;oneshar.es" rel="nofollow">https:&#x2F;&#x2F;oneshar.es</a><p>I created a similar web application in Django as part of a College minor project last year. Best part was implementing the AES algorithm ourselves. :D
评论 #5840698 未加载
评论 #5841366 未加载
deepdogalmost 12 years ago
Why is the password stored in plain text &quot;for now&quot;? What is so hard about running bcrypt or pbkdf2 against the password before storing it in the database?
评论 #5840664 未加载
ryandetzelalmost 12 years ago
Just use vanish.io
评论 #5841188 未加载