adobe / adobe/jwt-auth

Guard against a private.key having no line breaks

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Some windows bash programs copy the private key with line breaks. This screws up the jwt token generation. We should use the fixed line length to add in the line breaks where needed.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the JavaScript JWT token generation path and how private.key is read. Reproduce the case where the key has no line breaks, then verify that fixed-length line breaks are restored and JWT generation succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.