Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG badge is successfully validated with incorrect mail in recipient field #262

Open
Arkusm opened this issue Nov 8, 2024 · 1 comment

Comments

@Arkusm
Copy link

Arkusm commented Nov 8, 2024

The validation of this badge is always successful with the Open Badges 2.0 Validator, even if you enter any mail in the Verify Recipient field.

<openbadges:assertion verify="https://www.e-teaching.org/etresources/badges/assertion1.svg"><![CDATA[{
    "@context": "https://w3id.org/openbadges/v2",
    "id": "https://www.e-teaching.org/etresources/badges/assertion1.svg",
    "type": "Assertion",
    "recipient": {
        "type": "email",
        "identity": "sha256$73e0de7837494e40faceaffb799a19ac3ef5b4bb38230dd980bb4ff40dfbdf85",
        "hashed": true,
        "salt": "RI35OTCT8SBD15J8D99O1DXPUT9S894RKT718PSMFD"
    },
    "issuedOn": "2024-11-08T10:33:30.649696",
    "badge": {
        "@context": "https://w3id.org/openbadges/v2",
        "type": "BadgeClass",
        "id": "https://www.e-teaching.org/etresources/badges/badge1.html",
        "name": "The Name",
        "description": "Description",
        "image": "https://www.e-teaching.org/etresources/badges/badge1-image.svg",
        "issuer": {
            "id": "https://www.e-teaching.org/etresources/badges/issuer1.html",
            "type": "Profile",
            "name": "Org",
            "url": "https://www.example.org",
            "description": "description",
            "email": "feedback@example.org"
        },
        "criteria": {
            "narrative": "criteria"
        },
        "alignment": []
    },
    "verification": {
        "type": "hosted"
    }
}]]></openbadges:assertion>
@Arkusm
Copy link
Author

Arkusm commented Nov 11, 2024

The problem only seems to occur with SVG badges. It works perfectly with PNG files. Is it possible that the field Verify Recipient for mail is only evaluated for PNGs?

grafik

Verification works perfectly with https://www.dr-chuck.com/obi-sample/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant