Skip to content
/ scrappy Public

Akama Kosei, Nakatsuka Yoshimichi, Sato Masaaki, Uehara Keisuke. "Scrappy: SeCure Rate Assuring Protocol with PrivacY." Proceedings of the 31st Annual Network and Distributed System Security Symposium (NDSS’24). https://doi.org/10.14722/ndss.2024.24445. 2024.

License

Notifications You must be signed in to change notification settings

akakou/scrappy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeCure Rate Assuring Protocol with PrivacY

Dependencies

Scrappy is support Linux environments, and the work checked on NixOS 23.05pre4. Also, Scrappy needs the dependecies as follows:

How to use

1. Reset TPM

WARNING: TO DEPLOY CORRECTLY, WE RECOMMEND RESETTING YOUR TPM FIRST. BUT IT MAY REMOVE YOUR IMPORTANT KEYS.

sudo tpm2_clear

2. Set up X configuration

xhost + 

3. Download libraries

cd thirdparty
make
cd ..

4. Run docker-compose

The run follows the command, then the Chrome browser opens.

docker-compose --profile default up

5. Configure chrome extension

  1. Open new tabs and jump to "chrome://extensions/" on the browser.
  2. Turn on the toggle of "Developer mode".
  3. Push the button labeled and open "/scrappy/browser/extension/" to install the extension.

Demo

"http://server:8081/" is a demo that protects heavy endpoints using the Scrappy.

Benchmark

You can run the "go test" with some commands to measure benchmarks.

Cryptographic process of Sign TPM

cd /scrappy/ecdaa
/usr/local/go/bin/go test ./bench -benchmem -run=^$ -bench SignTPM -benchtime 20x

Sign Log

cd /scrappy/core
/usr/local/go/bin/go test ./tests -benchmem -run=^$ -bench BenchmarkSignLog -benchtime 20x

Cryptographic process of Verification

cd /scrappy/ecdaa
go test ./bench -benchmem -run=^$ -bench BenchmarkVerify -benchtime 20x

Verify Log

cd /scrappy/core
go test ./tests -benchmem -run=^$ -bench BenchmarkVerifyLog -benchtime 20x

About

Akama Kosei, Nakatsuka Yoshimichi, Sato Masaaki, Uehara Keisuke. "Scrappy: SeCure Rate Assuring Protocol with PrivacY." Proceedings of the 31st Annual Network and Distributed System Security Symposium (NDSS’24). https://doi.org/10.14722/ndss.2024.24445. 2024.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published