source: examples/passphrase_tests/creddy/auto.save @ f3421a0

mei_rt2mei_rt2_fix_1
Last change on this file since f3421a0 was ba6027a, checked in by Mei <mei@…>, 12 years ago

1) modified code all around to add support for encrypted private key for

ID credential

2) add new abac_key_t structure (abac_key.c)
3) add new keycheck option to creddy
4) add 2 new test suites

  • Property mode set to 100644
File size: 1.2 KB
Line 
1 
2>>>>  keycheck the encrypted private key (with passphrase file) ...
3creddy keycheck : enc_private.pem is okay
4 
5>>>>  generate a regular abac private key ...
6Generating key, this will take a while. Create entropy!
7    - move the mouse
8    - generate disk activity (run find)
9 
10>>>>  keycheck the regular private key ...
11creddy keycheck : abc_private.pem is okay
12 
13>>>>  attr check the regular id credential ...
14Issuer: CN=abc
15Subject: CN=abc
16 
17>>>>  verify check the regular id credential ...
18signature good, certificates valid
19 
20>>>>  generate an id credential using encrypted private key ...
21 
22>>>>  attr check the id credential ...
23Issuer: CN=abcE
24Subject: CN=abcE
25 
26>>>>  verify check the id credential ...
27signature good, certificates valid
28 
29>>>>  generate an id credential, reusing the regular private key ...
30 
31>>>>  attr check the regular id credential ...
32Issuer: CN=abcN
33Subject: CN=abcN
34 
35>>>>  verify check the regular id credential ...
36signature good, certificates valid
37 
38>>>>  expected failure case ...
39creddy: passphrase file does not exist!!
40
41 
42>>>>  expected failure case ...
43building CRED_PRIVATE_KEY - RSA failed, tried 5 builders
44creddy: couldn't create ID without private key
Note: See TracBrowser for help on using the repository browser.