source: examples/creddy_tests/display.ck @ 461541a

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 461541a was 461541a, checked in by Mei <mei@…>, 11 years ago

1) updated original rt0 to remove libstrongswan dependency

a) identity credential being made/accessed with openssl api calls

(X509/EVP_PKEY pem)

b) attribute credential being made/access via xmlsec1 (custom XML

structure)

2) refactored libcreddy into libabac and now one ABAC namespace for

libabac

3) added attribute_rule suboption to creddy's attribute as another way

to insert access rule

4) added some regression tests into example directory
5) updated some docs.

  • Property mode set to 100755
File size: 614 bytes
Line 
1#!/bin/sh
2
3# display.ck
4
5result=`diff display.out display.save 2>/dev/null |wc -l`
6
7if [ "$result" = "34" ]; then
8    return 0
9else
10    return 1
11fi
12
13
14# ignore many sets of
15#5,7c5,7
16#<     Not before: 2013-05-06 18:40:31 PST [1367894431]
17#<     Not after:  2016-04-20 18:40:31 PST [1461206431]
18#< 11979:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
19#---
20#>     Not before: 2013-05-06 18:39:25 PST [1367894365]
21#>     Not after:  2016-04-20 18:39:25 PST [1461206365]
22#> 11951:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: CERTIFICATE
23#
Note: See TracBrowser for help on using the repository browser.