-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Looking at the specification https://webxdc.org/docs/spec/format.html I find some potential issues / questions regarding the format:
XDC Format
-
ZIP settings such as compression, etc, are not defined explicitly
-
Make the zipping process reproducible: Last-modified timestamps & File-system permissions (mode) for the archive files.
-
Specify a max file size. (I belive this is already the case as see here https://github.com/webxdc/hello/blob/d648febd18ec809ecbd5681f1fc6d4b5273b3e52/create-xdc.sh#L23 )
-
manifest toml file does not define if additional properties are allowed
-
clarify where it says that manifest toml says if
manifest.tomlexists it MUST readsource_code_urlhowever this is stated as an optional field.
Suggestions
- define a 'scope' for which html pages can be loaded besides index.html for the user. E.g. a 'debug' page may be scoped for development purposes but disabled for normal installs
- an "integrity hash" or SRI hash, which is basically a checksum over the source file inputs. it is intended to let consumers easily validate
WofWca and Simon-Laux
Metadata
Metadata
Assignees
Labels
No labels