2010-12-23 17:34:05

by Roberto Sassu

[permalink] [raw]
Subject: [RFC][PATCH 1/6] encrypted-keys: fixed valid_master_desc() function description

Valid key type prefixes for the parameter 'key-type' are: 'trusted' and
'user'.

Signed-off-by: Roberto Sassu <[email protected]>
---
security/keys/encrypted_defined.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/keys/encrypted_defined.c b/security/keys/encrypted_defined.c
index 32d27c8..c1c5e27 100644
--- a/security/keys/encrypted_defined.c
+++ b/security/keys/encrypted_defined.c
@@ -84,7 +84,7 @@ static int aes_get_sizes(void)
/*
* valid_master_desc - verify the 'key-type:desc' of a new/updated master-key
*
- * key-type:= "trusted:" | "encrypted:"
+ * key-type:= "trusted:" | "user:"
* desc:= master-key description
*
* Verify that 'key-type' is valid and that 'desc' exists. On key update,
--
1.7.2.3


Attachments:
smime.p7s (4.30 kB)

2010-12-24 15:45:53

by Mimi Zohar

[permalink] [raw]
Subject: Re: [RFC][PATCH 1/6] encrypted-keys: fixed valid_master_desc() function description

On Thu, 2010-12-23 at 18:33 +0100, Roberto Sassu wrote:
> Valid key type prefixes for the parameter 'key-type' are: 'trusted' and
> 'user'.
>
> Signed-off-by: Roberto Sassu <[email protected]>

Thanks Roberto!

Acked-by: Mimi Zohar <[email protected]>

> ---
> security/keys/encrypted_defined.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/security/keys/encrypted_defined.c b/security/keys/encrypted_defined.c
> index 32d27c8..c1c5e27 100644
> --- a/security/keys/encrypted_defined.c
> +++ b/security/keys/encrypted_defined.c
> @@ -84,7 +84,7 @@ static int aes_get_sizes(void)
> /*
> * valid_master_desc - verify the 'key-type:desc' of a new/updated master-key
> *
> - * key-type:= "trusted:" | "encrypted:"
> + * key-type:= "trusted:" | "user:"
> * desc:= master-key description
> *
> * Verify that 'key-type' is valid and that 'desc' exists. On key update,