Code Monkey home page Code Monkey logo

jwtdemo's Introduction

jwtdemo's People

Contributors

sjord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jwtdemo's Issues

Error running script to Change the algorithm from RS256 to HS256, and use the public key as the secret key for the HMAC.

ecro0@MN-C02YF0MJJG5L ~ % git clone https://github.com/Sjord/jwtdemo.git
Cloning into 'jwtdemo'...
remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 42 (delta 0), reused 1 (delta 0), pack-reused 39
Unpacking objects: 100% (42/42), done.
ecro0@MN-C02YF0MJJG5L ~ % cd jwtdemo
ecro0@MN-C02YF0MJJG5L jwtdemo % ls
FirebaseRS256.php common.php private.pem
MishalHS256.php composer.json public.pem
README.md composer.lock publickeyhs256.php
base.php hs256.php rs256.php
ecro0@MN-C02YF0MJJG5L jwtdemo % php publickeyhs256.php

Warning: require(/Users/ecro0/jwtdemo/vendor/autoload.php): failed to open stream: No such file or directory in /Users/ecro0/jwtdemo/publickeyhs256.php on line 2

Fatal error: require(): Failed opening required '/Users/ecro0/jwtdemo/vendor/autoload.php' (include_path='.:') in /Users/ecro0/jwtdemo/publickeyhs256.php on line 2

Error in site hosting

Hi everyone, I have a problem in hosting the site locally because having downloaded everything and installed on the composer the written versions of the two "libraries" and trying to host the site with the command "php" version 8.2.9 the vulnerability does not work i.e. when I try to create a jwt token with the public key and with the HS256 algorithm it tells me that it is invalid does anyone know why? Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.