TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

NoteHub API

24 点作者 elrodeo超过 11 年前

6 条评论

xnxn超过 11 年前
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 未加载
nadaviv超过 11 年前
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 未加载
rhythmvs超过 11 年前
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>
motyar超过 11 年前
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.
sjustinas超过 11 年前
What&#x27;s the deal with MD5 (both for signatures and password hashing)?
评论 #7046275 未加载
jalan超过 11 年前
Just stumbled across it, nice work BTW.