JWT 라이브러리를 이용해 토큰 생성을 공부하던 중 에러가 발생하였다.
무슨 일이고 하니
github.com/auth0/node-jsonwebtoken/issues/642
Please tutorial how to fix "error:0909006C:PEM routines:get_name:no start line" with algorithm: "RS256" · Issue #642 · auth0/n
Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues. Thank you in advance for helping us to improve this libr...
github.com
알고리즘 문제일 수 있다는 힌트를 얻었다.
(default) HS256 이 아니라 RS256 을 사용하기 위해서는 조건이 까다로운 듯 하다.
에러 체크해보길 잘했다.
'2️⃣ 개발 지식 B+ > 에러 해결 모음' 카테고리의 다른 글
Error: listen EADDRINUSE: address already in use :::port (0) | 2021.02.19 |
---|---|
workbench 깔았는데 비정상적으로 안 열리면? (0) | 2021.01.26 |
Error: write EPROTO (0) | 2021.01.22 |
What is "Bearer" in JWT (Json Web Token) (0) | 2021.01.21 |
Error: unable to verify the first certificate (Basic auth) (0) | 2021.01.21 |