Skip to content
kgal edited this page Apr 21, 2017 · 208 revisions

Protection Profile Development Getting Started

Requirements

  • A git client
  • An XML editor (preferably one that can validate against Relax NG schemas)
  • Optional
    • The make utility
    • The xsltproc XSL Engine.

Starting a New Project From Scratch

  1. To make a new protection profile create a new repo on the git server (i.e. github.com), probably through the web interface.

  2. Copy the URL to the projects git file to the clipboard. Run the following script, pasting the value copied into where you see $NEW_REPO_GIT_URL.

git clone --bare https://github.com/commoncriteria/pp-template.git
# Make a bare clone of the repository

cd pp-template.git
git push --mirror $NEW_REPO_GIT_URL
# Mirror-push to the new repository

cd ..
rm -rf pp-template.git
# Remove our temporary local repository
  1. Do a full clone of your new project

  2. Rename the input file, currently named, input/pp-template.xml to the name of the project with xml added to it; for example, operatingsystem and application have operatingsystem.xml and application.xml input files respectively.

If something was the project name it would be,

git mv input/pp-template.xml input/something.xml
  1. Remove this content from the readme, up to the line below and customize.

References

Clone this wiki locally