Merge "KeyStore: fix test-keystore"
This commit is contained in:
commit
35766cfcc4
@ -116,11 +116,12 @@ function test_basic() {
|
|||||||
expect "1 No error"
|
expect "1 No error"
|
||||||
expect "baz"
|
expect "baz"
|
||||||
|
|
||||||
log "system does not have access to read any keys"
|
log "get baz"
|
||||||
keystore system g baz
|
keystore system g baz
|
||||||
expect "6 Permission denied"
|
expect "1 No error"
|
||||||
|
expect "quux"
|
||||||
|
|
||||||
log "however, root can read system user keys (as can wifi or vpn users)"
|
log "root can read system user keys (as can wifi or vpn users)"
|
||||||
keystore root g baz
|
keystore root g baz
|
||||||
expect "1 No error"
|
expect "1 No error"
|
||||||
expect "quux"
|
expect "quux"
|
||||||
|
Loading…
Reference in New Issue
Block a user