Skip to content

devopsdefender/dd-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dd-client

Native DevOps Defender clients.

This repo owns client-side code that should not live in devopsdefender/dd:

  • dd-client-core: reusable Rust client core for pairing, quote verification, direct agent Noise transport, session RPCs, and PTY streaming.
  • dd-client: CLI binary using dd-client-core.
  • dd-client-ffi: C-compatible bridge for native mobile shells.
  • apps/ios: iOS client workspace notes; it will use the same core.

The control plane is only for enrollment and route discovery. Shell, log, and session bytes go directly between the paired client and the selected agent over Noise.

Build

cargo build

CLI

Generate a paired device key and print the CP enrollment URL:

dd-client keygen --key ~/.config/devopsdefender/noise.key \
  --cp-url https://app.devopsdefender.com \
  --label laptop

List recipes on an enrolled agent:

DD_ITA_API_KEY=... dd-client recipes \
  --url https://agent.example.com \
  --key ~/.config/devopsdefender/noise.key

Open a shell:

DD_ITA_API_KEY=... dd-client shell \
  --url https://agent.example.com \
  --key ~/.config/devopsdefender/noise.key \
  --recipe shell

During an attached shell, Ctrl-] detaches and leaves the remote session alive. Ctrl-D sends EOF to the remote shell and disconnects the local client. Use dd-client close --id SESSION_ID ... to terminate a session explicitly.

Quote verification is on by default. Local preview/dev runs without Intel Trust Authority credentials must pass --insecure-skip-quote-verify explicitly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors