Skip to content

Commit

Permalink
fix: use ES256K as the default JWT algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Jun 25, 2020
1 parent 1f1f51b commit a097c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const JWT_ALG = 'ES256K-R'
export const JWT_ALG = 'ES256K'
export const DID_FORMAT = /^did:([a-zA-Z0-9_]+):([:[a-zA-Z0-9_.-]+)(\/[^#]*)?(#.*)?$/
export const JWT_FORMAT = /^[A-Za-z0-9-_=]+\.[A-Za-z0-9-_=]+\.?[A-Za-z0-9-_.+/=]*$/
export const DEFAULT_CONTEXT = 'https://www.w3.org/2018/credentials/v1'
Expand Down

0 comments on commit a097c69

Please sign in to comment.