Skip to content

mettlex/live-shared-secret

Repository files navigation

Command-Line


Install Deno version 1.26.1 or newer. Linux or Unix system is required.

One-Time Setup using CLI

To create secret-shares, run the command-line program:

cd cli/

deno run --unstable --no-remote --allow-read=./ --allow-write=./ one_time_setup.ts

Recover using CLI

  • xsel needs to be installed on Linux for copying.

To recover secret from the shares, run the command-line program:

cd cli/

deno run --unstable --no-remote --allow-read=./ --allow-write=./ recover.ts

Additional Notes:

  • --unstable flag is only required for Deno.stdin.setRaw()
  • --no-remote to prevent downloading any code from the internet