doodle/pkg/level
Noah Petherbridge 82884c79ae Signed Levels and Levelpacks
Add the ability for the free version of the game to allow loading levels that
use embedded custom doodads if those levels are signed.

* Uses the same signing keys as the JWT token for license registrations.
* Levels and Levelpacks can both be signed. So individual levels with embedded
  doodads can work in free versions of the game.
* Levelpacks now support embedded doodads properly: the individual levels in
  the pack don't need to embed a custom doodad, but if the doodad exists in
  the levelpack's doodads/ folder it will load from there instead - for full
  versions of the game OR when the levelpack is signed.

Signatures are computed by getting a listing of embedded assets inside the
zipfile (the assets/ folder in levels, and the doodads/ + levels/ folders
in levelpacks). Thus for individual signed levels, the level geometry and
metadata may be changed without breaking the signature but if custom doodads
are changed the signature will break.

The doodle-admin command adds subcommands to `sign-level` and `verify-level`
to manage signatures on levels and levelpacks.

When using the `doodad levelpack create` command, any custom doodads the
levels mention that are found in your profile directory get embedded into
the zipfile by default (with --doodads custom).
2023-02-18 17:37:54 -08:00
..
giant_screenshot Signed Levels and Levelpacks 2023-02-18 17:37:54 -08:00
publishing Signed Levels and Levelpacks 2023-02-18 17:37:54 -08:00
actor_options.go Slippery Pixels + Update Changelog for 0.13.1 2022-10-10 10:52:28 -07:00
actors.go Slippery Pixels + Update Changelog for 0.13.1 2022-10-10 10:52:28 -07:00
chunk_map.go Add cheat code to send power to all actors 2023-02-18 14:21:07 -08:00
chunk_test.go Rename Go module 2022-09-24 15:17:25 -07:00
chunk.go Binary format for chunks in zipfiles 2023-02-18 12:45:36 -08:00
chunker_test.go Rename Go module 2022-09-24 15:17:25 -07:00
chunker_zipfile.go Add cheat code to send power to all actors 2023-02-18 14:21:07 -08:00
chunker.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
filesystem.go Signed Levels and Levelpacks 2023-02-18 17:37:54 -08:00
fmt_json.go Rename Go module 2022-09-24 15:17:25 -07:00
fmt_maintenance.go Rename Go module 2022-09-24 15:17:25 -07:00
fmt_readwrite.go Rename Go module 2022-09-24 15:17:25 -07:00
inflate.go Actor Zoom + Experimental Settings GUI 2021-09-11 21:18:22 -07:00
page_type.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
palette_defaults.go Update default level palettes for new pixel attributes 2022-10-10 11:17:11 -07:00
palette.go Binary format for chunks in zipfiles 2023-02-18 12:45:36 -08:00
swatch.go Slippery Pixels + Update Changelog for 0.13.1 2022-10-10 10:52:28 -07:00
types.go Signed Levels and Levelpacks 2023-02-18 17:37:54 -08:00