feat(iam-token-service): replace jsonwebtoken with jose#193
feat(iam-token-service): replace jsonwebtoken with jose#193ksrt12 wants to merge 2 commits intoyandex-cloud:masterfrom
Conversation
|
Original error using |
|
There is no urgent need to change the library. Everything works perfectly right now. https://github.com/nikolaymatrosov/sdk-jwt-demo The key for this example was created via |
|
@nikolaymatrosov странно, я пробовал и 2048 и 4096-битные ключи, скачанные через консоль ЯО - проблема присутствует. Чуть позже попробую через CLI создать еще один ключ и отпишусь. Бтв по поводу Jose - в отличие от jsonwebtoken пакет имеет 0 внешних зависимостей и обновляется |
|
@nikolaymatrosov проблема воспроизводится только в среде bun, в нативном nodejs действительно проблемы нет |
|
Поддержки bun не было заявлено. |
|
Планируется ли внедрение поддержки среды выполнения Bun? |
When using

serviceAccountJsoninnew Sessionthere is error in signing jwt with oldjsonwebtokennpm package. Alsojsonwebtokenhas not been updated for 2 years. There is some proofs: on the left side of the screenshot the jwt was encoded usingjoseand on the right - withjsonwebtoken