mirror of https://github.com/cutefishos/appmotor
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
/*! \page aegis Platform Security and Applauncherd
|
|
|
|
\section setup Setting up Aegis security tokens
|
|
|
|
If your application does not have an aegis manifest file, no actions are
|
|
needed for platform security.
|
|
|
|
If your application has a manifest file, something needs to be added
|
|
there: everything that is requested for the application binary must be
|
|
requested to the application launcher binary as well.
|
|
|
|
For instance, manifest file for an application that needs only an
|
|
automatically generated application ID:
|
|
|
|
\code
|
|
<aegis>
|
|
<request>
|
|
<for path="/usr/bin/application_name.launch" />
|
|
<for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="" />
|
|
</request>
|
|
</aegis>
|
|
\endcode
|
|
|
|
If an application has a user-defined ID:
|
|
|
|
\code
|
|
<aegis>
|
|
<request>
|
|
<for path="/usr/bin/application_name.launch" id="myownid" />
|
|
<for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="myownid" />
|
|
</request>
|
|
</aegis>
|
|
\endcode
|
|
|
|
Finally, if an application has some security tokens:
|
|
|
|
\code
|
|
<aegis>
|
|
<request>
|
|
<credential name="GlobalToken" />
|
|
<credential name="OwnToken" />
|
|
<credential name="package::OtherToken" />
|
|
<for path="/usr/bin/application_name.launch" />
|
|
<for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="" />
|
|
</request>
|
|
</aegis>
|
|
\endcode
|
|
|
|
*/
|
|
|