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.

Keyringless GnuPG

100 pointsby eaguyhnover 5 years ago

7 comments

cpercivaover 5 years ago
Looks like this does signing but not encryption. Assuming I'm not missing anything: Is anyone planning on adding the encryption side of things?
ndotlover 5 years ago
To me, this is another example of functional vs object oriented styles of programming.<p>signify is essentially a pure function. It carries no state and the output is purely a function of its inputs (and a bunch of internal constants).<p>GnuPG (and indeed music players) are stateful. To some, it may be irritating to build up that state to do something simple. OTOH, that state is useful if it&#x27;s a cache hit and it&#x27;s annoying to repeatedly pass the same parameters (i.e., you want to repeatedly do a bunch of ops against the same identity you&#x27;ve imported).<p>It&#x27;s usually easier to write a functional core and wrap it in something stateful (by currying the arguments) rather than the trying to do the reverse as the author is doing here.
评论 #20794523 未加载
southerntofuover 5 years ago
This passphrase2pgp thing is really neat!<p>Also sequoia PGP supports the kind of one-off signature verification the author does with simplegpg:<p>sq verify --public-key-file keyname.asc message.txt<p>I&#x27;d be curious to hear what the author thinks of that project
xmmrmover 5 years ago
Somewhat off-topic: Are there any efforts to add signify&#x2F;minisign support to git?
teddyhover 5 years ago
See also the &quot;gpgv&quot; and &quot;symcryptrun&quot; tools included in GnuPG:<p><a href="https:&#x2F;&#x2F;gnupg.org&#x2F;documentation&#x2F;manuals&#x2F;gnupg&#x2F;gpgv.html#gpgv" rel="nofollow">https:&#x2F;&#x2F;gnupg.org&#x2F;documentation&#x2F;manuals&#x2F;gnupg&#x2F;gpgv.html#gpgv</a><p><a href="https:&#x2F;&#x2F;gnupg.org&#x2F;documentation&#x2F;manuals&#x2F;gnupg&#x2F;symcryptrun.html#symcryptrun" rel="nofollow">https:&#x2F;&#x2F;gnupg.org&#x2F;documentation&#x2F;manuals&#x2F;gnupg&#x2F;symcryptrun.ht...</a>
evancox100over 5 years ago
Great advertisement on why you should just use signify instead
awinter-pyover 5 years ago
&gt; GnuPG is like a media player<p>sign me up