Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.99 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.99 KB

Information

This is a repository which contains a proof-of-concept implementation for the published paper called "D-GATE: Decentralized Geolocation and Time Enforcement for Usage Control" published 2023 in a IEEE European Symposium on Security and Privacy Workshop (EuroS&PW). For details please refer to the paper.

This project is not maintained. Note that this repository presents a prototype implementation and is not to be used in production.

Start instructions

Start a node via:

cd go-code
go run . 

Should show something like "Ready!"

In another terminal, launch the time measurement and signature process using this curl command:

curl --request GET \
  --url http://localhost:10000/init-attestation \
  --header 'Content-Type: application/json' \
  --data '{
	"repetitions": 1000,
	"targetEndpoint": "localhost:10000",
	"targetPublicKeyPem": "LS0tLS1CRUdJTiBSU0EgUFVCTElDIEtFWS0tLS0tCk1JSUNJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBZzhBTUlJQ0NnS0NBZ0VBdzRvRW9qZ3k0SUxKRGpaZElYamoKU1ZEV3picVllYUxhc2k3N1lYODRFVmh1MVo5TnREWGxTTWhadTQxaUN1a2J2cm1ER0Zubm5od0N0dUlvWVh2OApJTVFOQnFhN0k0bnNTa2VqUWxleXZ0NGJFQ2xUOTVpQ1NyME1sWnpHOCt4aXhHVDlVSHFrTGpMOVVsaE5PR05hCnQ0VHhVZXMrdlZ4VXJOWnFQMW1tem44UjNTYWU3UUF0NVBURlMzYytPSXBXUm55RzNtNC8rYTlmUGpWeTB5SGIKVldsRU8wWWNJSnFaVjdGMGJFdHlmd3duaFlYOFRaRzRSMTdlajBWRDBaME9WU2J1c1dzeGdLRHU3Ykl5TDNHawpKekx4NGFlTWdJdEV5SnFMRzlxUVJYNE9nOUtLa2QzdjRjSFJqV1M3ZklLUjdYQ3VJNWQrYVZJTktVY1R6Z3BpCmR2aytZNFZRUVBUNjZKenRKSGlxV3lVbks5SVdNZnFxYUZJNnNXTWpQd2tRVVFQWFNETFc5WXZpZEEyczZaQncKN09TR2RpazBlSlNha01mV2psbHBYaExCWndpdG9JU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