Skip to content

Commit fea9bb1

Browse files
committed
Added Encoding considerations and References
1 parent b96c66b commit fea9bb1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

oetp-ri-scheme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Resource Identifier (RI) Scheme name: oetp
22
Status: provisional
33

44
Scheme syntax:
5-
oetp://<hash> (Where integrity <hash> is the SHA3-512 generated during the disclosure process)
5+
oetp://<hash> (Where integrity <hash> is the SHA3-512 string generated during the disclosure process)
66
oetp://<component>@<alias>[:<disclosure>] (Where <component> is the ID assigned via Disclosure Identity Provider under its <alias> during the first disclosure.)
77
oetp://<domain>[:<disclosure>] (For verified domains (DV), disclosure could be accessed using <productDomain> instead of <componentID>@<generatorAlias>.)
88
example: oetp://156d624b8f2dbea87128a2147f255842652475c5dc595c79f64c90c7ff486d59007c3e18c993e3163395812e26b70ea70dfc413f7ca128869d115f12e5699bf2 (accessing disclosure directly via its known integrity <hash>)
@@ -11,7 +11,7 @@ Scheme syntax:
1111
Scheme semantics:
1212
Load a disclosure for a product or a component.
1313
Encoding considerations:
14-
Unknown, use with care.
14+
The scheme permits the use of non-ASCII characters and accepts IDN (Internationalized domain names) in <domain>. The other elements of the scheme should follow the ASCII encoding. When performing lookup, the domain segment of the schema is converted to ASCII. The ASCII representation starts with the prefix "xn--" and is followed by the domain name segment encoded as Punycode [4,5]. Example: for the "домен.укр" cyryllic domain, the URI "oetp://домен.укр:7df2933d-2de6-445b-b392-17bfb6d989c2" will be looked up as "oetp://xn--d1acufc.xn--j1amh:7df2933d-2de6-445b-b392-17bfb6d989c2" and for emoji domain "oetp://😉.to" will be looked up as "oetp://xn--n28h.to". In case of Right-to-Left scripts it's suggested to follow [6].
1515
Applications/protocols that use this scheme name:
1616
Open Ethics is currently implementing the scheme to be used with Open Ethics Transparency Protocol (OETP) [1] to access disclosures for software products and their components, as well as to access disclosures for public surveillance locations [2] to improve transparency. The working repository for the documentation is publicly available [3].
1717
Interoperability considerations:
@@ -29,5 +29,8 @@ References:
2929
[1]: https://openethics.ai/oetp/
3030
[2]: https://openethics.ai/public-surveillance-transparency/
3131
[3]: https://github.com/OpenEthicsAI/OETP-RI-scheme
32+
[4]: https://www.rfc-editor.org/rfc/rfc3492
33+
[5]: https://www.rfc-editor.org/rfc/rfc5890
34+
[6]: https://www.rfc-editor.org/rfc/rfc5893
3235

3336
(file created 2022-07-31)

0 commit comments

Comments
 (0)