decentralized-identity / decentralized-identity/did-attested-resources
Support data uri as resource content
- Dominant language
- HTML
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
I would like to add support for data uri as resource content. The idea is for the content object to be:
```json
{
"id": "{dataUri}"
}
```
Nothing is preventing this as the content is arbitrary json, however I'm wondering if this special case could have a specific resourceType defined, by which the content is expected to only contain a data uri. This could be valuable to secure inline images or other inline data.
My current idea is that a `resourceType` registry could be defined as an annex to the specification for protected resourceTypes, and have `DataURL` as one of the registered resourceType.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the DID Attested Resources specification and its resource content model. Determine whether a protected resourceType registry and a DataURL entry are in scope; done would require a settled specification decision and clearly defined resulting changes.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100