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.

NoteHub API

24 pointsby elrodeoover 11 years ago

6 comments

xnxnover 11 years ago
Some hopefully constructive criticism. :)<p>- I&#x27;d recommend using HMAC rather than plain MD5 to generate signatures. Using MD5 alone exposes you to length extension attacks.<p>- You should consider putting a timestamp or nonce in the signature parameters to prevent replay attacks.<p>- The fact that you&#x27;re able to validate that MD5(password) is correct implies that you&#x27;re storing passwords insecurely.<p>- Consider switching your API endpoints to use HTTPS and sending the password unhashed. Hashing the password is not helping you here: since you&#x27;re using the hashed value for authentication, any attacker who has it might as well have the actual password. Luckily, I don&#x27;t believe this is as useful without also knowing the PSK, but it&#x27;s still a design smell.
评论 #7047677 未加载
nadavivover 11 years ago
This looks very nice, but its somewhat inconvenient to write with the preview on top, as it makes the textarea jump around as I type. I think that side-by-side or putting the preview on the bottom would make more sense.
评论 #7047348 未加载
rhythmvsover 11 years ago
Nice updates! Alas, the service seems to broke: whatever I try to create a new note, I get “Bad Request”. Care to have a look? Much appreciated, and thanks a lot!<p><a href="https://github.com/chmllr/NoteHub/issues/8" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chmllr&#x2F;NoteHub&#x2F;issues&#x2F;8</a>
motyarover 11 years ago
Very useful. I just managed to hide panel see <a href="http://www.notehub.org/2014/1/13/where-is-the-panel" rel="nofollow">http:&#x2F;&#x2F;www.notehub.org&#x2F;2014&#x2F;1&#x2F;13&#x2F;where-is-the-panel</a><p>Seems like a feature to me.
sjustinasover 11 years ago
What&#x27;s the deal with MD5 (both for signatures and password hashing)?
评论 #7046275 未加载
jalanover 11 years ago
Just stumbled across it, nice work BTW.