diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-01-19 15:22:16 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-02-05 10:49:35 +0100 |
commit | 9616790b9ad4147acd5b11de11d6d79bc9ad807f (patch) | |
tree | 01041110e78ded2799fc4e26607ba21a618ca5d2 /trust/frob-token.c | |
parent | 49d2ededb64197702a8708cb4a453497bc7eaecd (diff) |
trust: Forcibly mark "Default Trust" read-only
The "Default Trust" token is typically mounted as $datadir, which is
considered as read-only on modern OSes.
Suggestd by Kai Engert in:
https://bugzilla.redhat.com/show_bug.cgi?id=1523630
Diffstat (limited to 'trust/frob-token.c')
-rw-r--r-- | trust/frob-token.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/frob-token.c b/trust/frob-token.c index 5d57ec1..e079860 100644 --- a/trust/frob-token.c +++ b/trust/frob-token.c @@ -52,7 +52,7 @@ main (int argc, return 2; } - token = p11_token_new (1, argv[1], "Label"); + token = p11_token_new (1, argv[1], "Label", P11_TOKEN_FLAG_NONE); count = p11_token_load (token); printf ("%d files loaded\n", count); |