티스토리 뷰

공부

[jwt]

승가비 2024. 1. 2. 02:04
728x90

https://jwt.io/

 

https://taksw222.tistory.com/163

 

[TIL] python으로 jwt 구현하기

python을 활용하여 jwt를 구현하기. python에는 jwt 모듈이 존재하여, jwt를 쉽게 구현할 수 있다. jwt의 기본 구조를 다시 보면, header + payload + signature 3가지로 구성되어 있다. 구현할 때는 payload에 집중

taksw222.tistory.com

https://stackoverflow.com/questions/45470433/python-jwt-library-pyjwt-trouble-signing-with-hs256-hmac-using-sha-256-hash-al

 

Python JWT library PyJWT trouble signing with HS256 - HMAC using SHA-256 hash algorithm

Trying to generate a JWT token using the PyJWT library. When I use the below program to generate the JWT token - the token does not work. However when I use the website https://jwt.io/ with th...

stackoverflow.com

https://taksw222.tistory.com/163

 

[TIL] python으로 jwt 구현하기

python을 활용하여 jwt를 구현하기. python에는 jwt 모듈이 존재하여, jwt를 쉽게 구현할 수 있다. jwt의 기본 구조를 다시 보면, header + payload + signature 3가지로 구성되어 있다. 구현할 때는 payload에 집중

taksw222.tistory.com

https://stackoverflow.com/questions/33329831/pycrypto-attribute-error-nonetype-object-has-no-attribute-oid-while-using

 

PyCrypto: Attribute Error: 'NoneType' object has no attribute 'oid' while using PKCS1_v1_5

SHA = hashlib.sha1() Eh = SHA.update(chunk) HRSA.signSHA(Eh,RSAprivatekey) RSAprivatekey is read in HRSA module and passed as argument to this function: RSAprivatekey = RSA.importKey(infile.read(...

stackoverflow.com

https://velog.io/@egoavara/JWK-%EB%9D%BC%EC%9D%B4%EB%B8%8C%EB%9F%AC%EB%A6%AC%EB%A5%BC-%EB%A7%8C%EB%93%A4%EC%96%B4-%EB%B3%B4%EC%9E%90-3

 

JWK 라이브러리를 만들어 보자! #3

이번에는 RFC7518(JWA)에 대해 정리하고 이해해 보겠다. 추가로 지난 포스트에서 미처 하지 못한 RS256, ES256을 이용한 디지털 서명 예제도 작성해 보겠다.

velog.io

https://gist.github.com/khornberg/b87e4a72532a342e1e5ebb16b5739e8f

 

python 3 base64 encode dict

python 3 base64 encode dict. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

 

728x90

'공부' 카테고리의 다른 글

[python] image resize code  (1) 2024.01.06
[spring] jasypt  (0) 2024.01.06
[intelliJ] properties  (0) 2024.01.02
[linux] cpu 갯수 (count)  (0) 2024.01.02
[yaml] converter  (0) 2024.01.02
댓글