See also tamproto Quick Start
docker-compose up
docker stop
for stopping the container.npm install
.node app.js
and execute.http://<Machine HostIP>:8888/api/tam_cbor
(CBOR)http://<Machine HostIP>:8888/api/tam_cose
(COSE Signing) key
directory and write its filename into key["TAM_priv"]
field in config.json
.
key
directory and write its filename into key["TEE_pub"]
field in config.json
. rules.json
.key
field is to specify each Agent public key's filename. This keyfile is required to contain kid
for distinguishing Agents. When using multiple Agents, each Agent should contain same kid
in the COSE unprotected header.rules
field holds pairs to Agent's request TC-lists and TAM's response manifest. The requested
field is match to the requested-tc-list
in QueryResponse. And the update
field is match to the manifest-list
in QueryResponse. (See ietf-teep-protocol Section 4.2 and 4.3)
key
directory and write its filename into key["Verify"]
field in config.json
.
key
directory.http://<Machine HostIP>:8888/panel/token
(tokenmanager).app.js
bootstrapapis.js
routing each API's request pass to TEEP-Protocol handler(teep-p.js
). Signing and Verifying COSE signatures.teep-p.js
implement of TEEP protocolrats.js
implement of EAT Signature and claims verification
-- keymanager.js
utility class of handling TEEP keystokenmanager.js
utility class of managing TEEP protocol's token
-- panels.js
human interfaces of configuring tamprotoThe TEEP specification offers optional features and tamproto supports a subset of these options.
The following features are implemented:
Copyright (c) 2020 SECOM CO., LTD. All Rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.