You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #105Fixes JWS signing bug where we JSON unmarshalling breaks verification, the function pkt.Compact is intended to produce compact tokens that can pass signature verification. #105 makes pkt.Compact safe to use by just having it pull the corresponding saved token from the PK Token struct. This makes pkt.Compact redundant the developer could just pull the saved token themselves in fewer lines of code.
pkt.Compact, developers should simply use the compact token saved to the PK Token.
Rather than:
cicToken, err:=pkt.Compact(pkt.Cic)
do this instead:
cicToken:=pkt.CicToken
This issue should be resolved when we create a PR to remove pkt.Compact from the PK Token and from the examples. It depeneds on #105 being merged first.
The text was updated successfully, but these errors were encountered:
As discussed in #105 Fixes JWS signing bug where we JSON unmarshalling breaks verification, the function
pkt.Compact
is intended to produce compact tokens that can pass signature verification. #105 makespkt.Compact
safe to use by just having it pull the corresponding saved token from the PK Token struct. This makespkt.Compact
redundant the developer could just pull the saved token themselves in fewer lines of code.pkt.Compact
, developers should simply use the compact token saved to the PK Token.Rather than:
do this instead:
This issue should be resolved when we create a PR to remove
pkt.Compact
from the PK Token and from the examples. It depeneds on #105 being merged first.The text was updated successfully, but these errors were encountered: