Differences From Artifact [967a299a54]:
- Executable file test.tcl — part of check-in [0a81f17bc9] at 2010-10-10 04:45:32 on branch trunk — Added signing and verification to test Made test less verbose (user: rkeene, size: 1788) [annotate] [blame] [check-ins using]
To Artifact [bf4bb077d0]:
- Executable file test.tcl — part of check-in [be76ba4355] at 2010-10-10 05:36:24 on branch trunk — Updated test driver to not give false errors if a non-PIN related decryption error occurs (user: rkeene, size: 1840) [annotate] [blame] [check-ins using]
| ︙ | |||
48 49 50 51 52 53 54 55 56 57 58 59 60 61 | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | + + + + |
puts -nonewline " *** ENTER PIN: "
flush stdout
gets stdin password
pki::pkcs11::login $handle $token_slotid $password
set plain [pki::decrypt -binary -priv $cipher $certinfo_list]
} else {
puts stderr "$::errorInfo"
exit 1
}
}
if {$plain != $orig} {
puts "Decryption error! Expected \"$orig\", got \"$plain\""
exit 1
|
| ︙ |