3 # netpgp bindings for tcl
9 netpgp_setvar
$n "homedir" "/home/agc/.gnupg"
10 netpgp_setvar
$n "hash" "SHA256"
13 set userid
[netpgp_getvar
$n "userid"]
14 netpgp_sign_file
$n $userid "a" "a.gpg" 0 0 0
15 netpgp_verify_file
$n "a.gpg" "/dev/null" 0