7 select pgp_key_id(dearmor(pubkey)) from keytbl where id=1;
8 select pgp_key_id(dearmor(pubkey)) from keytbl where id=2;
9 select pgp_key_id(dearmor(pubkey)) from keytbl where id=3;
10 select pgp_key_id(dearmor(pubkey)) from keytbl where id=4; -- should fail
11 select pgp_key_id(dearmor(pubkey)) from keytbl where id=5;
12 select pgp_key_id(dearmor(pubkey)) from keytbl where id=6;
14 select pgp_key_id(dearmor(seckey)) from keytbl where id=1;
15 select pgp_key_id(dearmor(seckey)) from keytbl where id=2;
16 select pgp_key_id(dearmor(seckey)) from keytbl where id=3;
17 select pgp_key_id(dearmor(seckey)) from keytbl where id=4; -- should fail
18 select pgp_key_id(dearmor(seckey)) from keytbl where id=5;
19 select pgp_key_id(dearmor(seckey)) from keytbl where id=6;
21 select pgp_key_id(dearmor(data)) as data_key_id
22 from encdata order by id;