build: made it easier to build bind-shell

This commit is contained in:
Andrew Rioux
2023-05-07 00:08:04 -04:00
parent 318e1b6d05
commit 52e458296c
10 changed files with 63 additions and 21 deletions

View File

@@ -3,8 +3,7 @@ use std::{io::prelude::*, net::UdpSocket, thread};
use anyhow::{anyhow, Context};
use ed25519_dalek::{Keypair, Signer};
const PUBKEY: &[u8] = include_bytes!("../../key-generator/pubkey");
const PRIVKEY: &[u8] = include_bytes!("../../key-generator/privkey");
use ex_bind_shell_key_generator::{PRIVKEY, PUBKEY};
fn main() -> anyhow::Result<()> {
let privkey = Keypair::from_bytes(&[PRIVKEY, PUBKEY].concat())