- Haskell 71%
- Shell 29%
ROPE package manager #
Note: Work In Progress, intended functionality described below!
This is a package manager which is a core component of a sec-os concept.
The rationale of creating a new package manager at this year is to be able to go as far as possible to assure that an installation from ROPE only stems from a limited set of security reviewed code. This is achieved through bootstrapping from smallest possible known code and checksumming as layers are added.
The goal with ROPE is that it shall be useful for OCI container creators.
ROPE has two operating modes: NETWORK and OFFGRID. The NETWORK mode is only needed for some commands ('rope pull' for example) When sufficient resources have been downloded to the local code repo, ROPE can continue to work off-grid in isolated environments.
Packages #
The package check procedure is:
- Register a demand for a package from the organisation.
- Identify an OFFICIAL source code download URL for the package,
- Verify the validity of its point of delivery with SSH
- Pull the source code into a sandbox.
- Verify the integrity of the code with checkum keys.
- If all checks pass ok, add a Package Record to the packages inventory file.
Example #
Example usage:
Show available packages and their status (EXTERNAL, LOCAL, VERIFIED).
$ rope list
Pull dependencies (needs network)
Install a package and all its dependencies:
$ rope add <package-name>
Remove a package and dependencies that are not used by any other code in the installation:
$ rope rm <package-name>
The Package list #
Bootstrapping process #
-
You need to start in an environment with network access. The environment needs curl and shell and rope. Shell must be able to do mkdir, touch, tee, echo, >> , << , Do '$ rope pull ' or '$ rope pull all' to get resources from the external sources. These resources are not yet trusted and thus are named '*.quarantained'. Thus only the rope pull command accesses external sources. Rope Pull is blocked in OFFGRID mode.
-
All resources needed shall now be present in a local repository under ./repository . From here on you should not need network.