aboutsummaryrefslogtreecommitdiffstats
path: root/docs/2-widgets.md
blob: 6b760273e9858636bab272747a20842930a24054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# The widgets

Applications are packaged and delivered in a digitally signed container
named *widget*. A widget contains:

- the application and its data
- a configuration file *config.xml*
- signature files

The format of widgets is described by W3C (World Wide Web Consortium)
technical recommendations:

- [Packaged Web Apps (Widgets)](http://www.w3.org/TR/widgets)
  (note: now deprecated)

- [XML Digital Signatures for Widgets](http://www.w3.org/TR/widgets-digsig)

Note that the technical recommendation
[Packaged Web Apps (Widgets)](http://www.w3.org/TR/widgets)
is now obsolete (since 11 october 2018).
It implies that a new format of widgets can be proposed in replacement.


The format is enough flexible to include the description of permissions
and dependencies required or provided by the application.

Signature make possible to allow or deny permissions required by the
application based on certificates of signers.

A chain of trust in the creation of certificates allows a hierarchical
structuring of permissions.

It also adds the description of dependency to other service because AGL
programming model emphasis micro-services architecture design.