Move example keys/data to openpgp-card-sequoia

This commit is contained in:
Heiko Schaefer 2021-10-28 00:22:53 +02:00
parent 85075c4cda
commit 753bd8b71b
12 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@ Upstream-Name: OpenPGP card
Upstream-Contact: Heiko Schaefer <heiko@schaefer.name>
Source: https://gitlab.com/hkos/openpgp-card
Files: example/*
Files: openpgp-card-sequoia/example/*
Copyright: 2021 Heiko Schaefer <heiko@schaefer.name>
License: CC0-1.0

View file

@ -18,14 +18,14 @@ use openpgp_card_sequoia::sq_util::{decryption_helper, sign_helper};
// Filename of test key and test message to use
// const TEST_KEY_PATH: &str = "../example/test4k.sec";
// const TEST_ENC_MSG: &str = "../example/encrypted_to_rsa4k.asc";
// const TEST_KEY_PATH: &str = "example/test4k.sec";
// const TEST_ENC_MSG: &str = "example/encrypted_to_rsa4k.asc";
// const TEST_KEY_PATH: &str = "../example/nist521.sec";
// const TEST_ENC_MSG: &str = "../example/encrypted_to_nist521.asc";
// const TEST_KEY_PATH: &str = "example/nist521.sec";
// const TEST_ENC_MSG: &str = "example/encrypted_to_nist521.asc";
const TEST_KEY_PATH: &str = "../example/test25519.sec";
const TEST_ENC_MSG: &str = "../example/encrypted_to_25519.asc";
const TEST_KEY_PATH: &str = "example/test25519.sec";
const TEST_ENC_MSG: &str = "example/encrypted_to_25519.asc";
fn main() -> Result<(), Box<dyn Error>> {
env_logger::init();