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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

OpenPGPjs v3.0

199 点作者 vabmit大约 7 年前

6 条评论

vabmit大约 7 年前
In case anyone that doesn&#x27;t follow the development of the library closely missed it, the main improvement in this version is the introduction of ECC support. ECC tends to be able to provide equivalent levels of security as traditional &quot;big prime&quot; cryptography (like RSA) with less computationally intensive operations. This is especially important in a library like OpenPGPjs that is primarily meant for in browser based web usage because it should make things, like sending and receiving mail, faster when ECC is used over older PGP public key encryption systems. For people that use ProtonMail&#x27;s web based crypto on mobile or tablet devices, a switch to ECC would result not just in similar performance improvements but also in lower battery usage.<p>Currently, ProtonMail uses RSA keys, but this addition of ECC support to their web encryption library may mean that they are about to start switching users to ECC keys. Because using &quot;larger&quot; (when compared with equivalent theoretical strength RSA keys, for example) ECC keys is less resource intensive than using higher security keys in some other forms of cryptosystems (like RSA) it may also be an indication that ProtonMail is preparing to upgrade users to higher security&#x2F;stronger keys.<p>Many cryptographers and organizations, including the US Government, have recommended for a long time that people migrate from older &quot;big prime cryptography&quot; based cryptosystems to ECC based cryptosystems for increased security.
评论 #16559200 未加载
评论 #16558484 未加载
评论 #16555330 未加载
dfabulich大约 7 年前
What is the threat model for PGP in JS? Like, is there an Alice, Bob, Carol, Eve story under which PGP in JS makes sense?<p>The canonical example that IMO doesn&#x27;t make sense is when Alice and Bob want to communicate privately using Eve as an webmail provider who wants to snoop in on the communications. Alice and Bob can&#x27;t just trust Eve to provide a copy of OpenPGPjs in a &lt;script&gt; tag on EveMail.com, because then they&#x27;re trusting Eve to provide a legitimate PGP implementation, trusting Eve not to log their keystrokes in JS, etc.<p>I can understand OpenPGPjs as a server-side library in Node (though I suspect it would be safer to run a battle-hardened library like GPG with node FFI).<p>But, in client-side web code, how could this ever make sense?
评论 #16556574 未加载
评论 #16556537 未加载
评论 #16558523 未加载
评论 #16555996 未加载
WhatIsDukkha大约 7 年前
I wish something like this would take off -<p><a href="https:&#x2F;&#x2F;github.com&#x2F;kylehuff&#x2F;webpg-chrome" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kylehuff&#x2F;webpg-chrome</a><p>We deserve a better userspace from our browsers. The excuse that &quot;users&quot; don&#x27;t want this because its &quot;hard&quot; is circular.
评论 #16556623 未加载
sphix0r大约 7 年前
Great to see protonmail working on this.<p>It&#x27;s shocking how much sensitive data is sent by mail (contracts, passwords, lawyers, etc..) without pgp signing &#x2F; encryption on a daily basis.
woranl大约 7 年前
Why not use webcrypto instead?
评论 #16563110 未加载
xs大约 7 年前
I don&#x27;t get it. Protonmail still doesn&#x27;t support PGP, yet they&#x27;re working on open source libraries for other people to implement PGP? I don&#x27;t understand these priorities.
评论 #16555427 未加载
评论 #16555313 未加载