mozilla / openbadges-badgekit

No Longer Maintained
https://badgekit.org
Mozilla Public License 2.0
123 stars 84 forks source link

The import has problems with badges signed #476

Closed ghost closed 6 years ago

ghost commented 9 years ago

I tried to import a badge but the error occurs: "could not validate linked resources".

Signature: https://gist.githubusercontent.com/tailot/9c80a81fb1f45e5d0d47/raw/7f2f0c3956bc61e6d3377cdf54cc12dab658fcb2/gistfile2.txt

Header: {"alg":"RS256","typ":"JWT"}

Payload: {"uid":"12c2bf45f0034db8ba0388839ac37065","recipient":{"type":"email","identity":"sha256$61e52c725e4c90231b689cbe36c1f38215526ce29c58ffa1162feec01f744f0b","salt":"325cd82b","hashed":true},"issuedOn":"2015-03-16T21:51:15Z","badge":"https://www.digitaldrivinglicence.barclays.co.uk/badge/badge-5.json","verify":{"type":"signed","url":"https://www.digitaldrivinglicence.barclays.co.uk/public-key.pem"}}

Original badge: the-digital-world-in-association-with-microsoft-open-badge 1

Identity: tailot AT gmail D0T com