-
Hello, I tried using this library to generate some PASETO tokens but ran into an issue where it would give the following error:
```javascript
TypeError [ERR_INVALID_THIS]: Value of "this" must be of…
-
I am following this tutorial to enable jwt authentication in my express API. https://jonathanmh.com/express-passport-json-web-token-jwt-authentication-beginners/
If I use a standard username/passwo…
-
I trying to work with owned private key but its alway error with invalid format.
```go
const privatePemFormat = `
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
`
func main() {
p…
-
# User Story:
As an OSCAL JSON content creator, I need to be able to use a JSON Web Signature (JWS) ([RFC7515](https://tools.ietf.org/html/rfc7515) to provide integrity and source authentication ov…
-
Hello,
I am making this issue to ask a few questions related to PasetoV4:
1. Is PasetoV4 is production ready? Has anyone had issues with it in a production environment?
and a bit more technic…
-
See: https://github.com/JiangKlijna/web-shell/blob/ebd1b450cb25b282cb3dd5939afeb88b2974179f/lib/generate.go
This is extremely scary from a security perspective, and rather unnecessary (could be don…
-
```php
file_put_contents(__DIR__ . '/key.pem', AsymmetricSecretKey::generate(new Version4())->encodePem());
SecretKey::importPem(file_get_contents(__DIR__ . '/key.pem'));
```
The above throws a `R…
-
Hello,
May I please ask you why the V4Decrypt is missing from the package? Specifically the local version.
I have some issues with finding it.
I would really appreciate your support on that.
…
-
When using on node v16.17, simply importing the library and calling `generateKeys` generate the following:
```
[unhandledRejection] ReferenceError: crypto is not defined
at generateKeys (file:…
-
JWT RFC 7519 requires those claims contain a number containing a NumericDate value.
https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.6
But the current PASETO RFC draft requires those claims…