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.

Square Open-Sources Golang Crypto Package Based on JWE/JWS

73 pointsby bigmacover 10 years ago

2 comments

AYBABTMEover 10 years ago
The cipher subpackage is importing a third party package `github.com&#x2F;apexskier&#x2F;cryptoPadding` and uses only this part of it:<p><a href="https://github.com/apexskier/cryptoPadding/blob/master/pkcs7.go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apexskier&#x2F;cryptoPadding&#x2F;blob&#x2F;master&#x2F;pkcs7...</a><p>I think it would be a good idea to avoid that otherwise small dependency with some copy-pasta&#x2F;vendoring.
评论 #8774893 未加载
评论 #8775063 未加载
tptacekover 10 years ago
If anyone was could publish a Golang crypto library I&#x27;d be inclined to trust, it&#x27;d be Square, but I think you should probably avoid JOSE.
评论 #8775802 未加载
评论 #8777522 未加载