paseto
Halite
paseto | Halite | |
---|---|---|
26 | 7 | |
3,188 | 1,111 | |
-0.2% | 0.0% | |
4.7 | 0.0 | |
5 days ago | almost 2 years ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
paseto
-
JSON Web Proofs
Might I suggest Paseto (https://paseto.io/) - it solves a lot of the headaches of JWT. Signing and encryption are two different things that require two different sets of keys, so you can't mess it up.
(Full disclosure, I've written one implementation: https://github.com/auth70/paseto-ts)
-
Full-stack authentication system using rust (actix-web) and sveltekit
Though we'll be building a session-based authentication system, it's noteworthy that with the introduction of some concepts which will be discussed in due time, you can turn it into JWT- or, more securely and appropriately, PASETO-based authentication system.
- Biscuit 3.0
-
Securing Your Golang Application: Unleashing the Power of Authentication and Authorization
Time we ditch it and use paseto
- Paseto is everything you love about JWT without any of the design deficits
- Why JWTs Suck as Session Tokens (2017)
-
Looking for advice for Go Backend REST API for a Front End React/NodeJS
The PASETO web site goes over it. Mostly it's designed to make you do things the right way and avoid all the security holes you can fall into with JWT.
- Initial impact report about this week's EdDSA Double-PubKey Oracle attack in 40 affected crypto libs
-
Stop Storing Authentication Tokens in JS-accessible Storage
If this is too much to handle, you shouldn't have to! There's already solutions that handle it for you
Halite
- sodium_crypto_secretbox
-
Does Halite do PGP?
I'm trying to find a PHP package that will handle PGP encryption/decryption. Halite keeps coming up but I can't tell from searching if it handles PGP. If it doesn't, can you recommend a PHP package that does? Thanks!
-
Sodium encryption and digital signing made simple
Sounds like https://github.com/paragonie/halite. What does this do better?
- Halite (usable cryptography library for PHP) version 5.0.0 released (Security Improvements within!)
-
Weekly "ask anything" thread
One of the Golden Rules of Computing is "Never roll your own Crypto" (without a PhD in Cryptography). If you need to encrypt something at rest I'd recommend the really very excellent Halite Library.
-
PASETO v2.0.0 released! (Lengthy release notes)
10,000%. I love Halite.
-
PHP.Net Documentation for ext/sodium Coming Soon
Excellent job! I've been using the https://github.com/paragonie/halite library on top of Sodium just so I don't have to re-work everything out, but this is going to be nice for cases when including third party libraries isn't possible!
What are some alternatives?
branca - :key: Secure alternative to JWT. Authenticated Encrypted API Tokens for Go.
PHP Encryption - Simple Encryption in PHP.
Symfony Panther - A browser testing and web crawling library for PHP and Symfony
PHPSecLib - PHP Secure Communications Library
wp-graphql-jwt-authentication - Authentication for WPGraphQL using JWT (JSON Web Tokens)
HTML Purifier - Standards compliant HTML filter written in PHP
Ory Hydra - OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.
PHP IDS - PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application
php-jwt - PHP package for JWT
PHP SSH - An experimental object oriented SSH api in PHP
bubble - bubble 旨在为项目快速开发提供一系列的基础能力,方便使用者根据项目需求快速进行功能拓展。已将所有 JAR 包都推送至中央仓库,也会为每个版本的升级改动列出详细的更新日志
random_compat - PHP 5.x support for random_bytes() and random_int()