get dependencies
pkg install -y gmake libtool pkgconf wget gcc openssl tpm2-tss tpm2-abrmd
link python and gcc
ln -s /usr/local/bin/gcc /usr/bin/gcc && ln -s /usr/local/bin/python3.7 /usr/bin/python
/** | |
* Copyright (c) 2014-present, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed in accordance with the terms specified in | |
* the LICENSE file found in the root directory of this source tree. | |
*/ | |
#include <boost/algorithm/string/replace.hpp> |
#!/usr/bin/python3 | |
''' | |
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. | |
This material is based upon work supported by the Assistant Secretary of Defense for | |
Research and Engineering under Air Force Contract No. FA8721-05-C-0002 and/or | |
FA8702-15-D-0001. Any opinions, findings, conclusions or recommendations expressed in this | |
material are those of the author(s) and do not necessarily reflect the views of the | |
Assistant Secretary of Defense for Research and Engineering. |
Start from this kind of environment: https://gist.github.com/nabilschear/0ccdf7d132c9add5503e5fc6df53ee1d
There should be no reason to change the default keylime.conf
other than to disable require_ek_cert
as specified in the above gist.
The idea is to securely deliver an ssh key to a machine and then revoke it by removing it from the offending machine.
create a directory called ssh_revoke
and create the following files
''' | |
DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited. | |
This material is based upon work supported by the Assistant Secretary of Defense for | |
Research and Engineering under Air Force Contract No. FA8721-05-C-0002 and/or | |
FA8702-15-D-0001. Any opinions, findings, conclusions or recommendations expressed in this | |
material are those of the author(s) and do not necessarily reflect the views of the | |
Assistant Secretary of Defense for Research and Engineering. | |
Copyright 2015 Massachusetts Institute of Technology. |