[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <350d17de-a669-4342-bc94-c86da4ef17db@quicinc.com>
Date: Mon, 19 Aug 2024 07:37:53 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Roberto Sassu <roberto.sassu@...weicloud.com>, <dhowells@...hat.com>,
<dwmw2@...radead.org>, <herbert@...dor.apana.org.au>,
<davem@...emloft.net>
CC: <linux-kernel@...r.kernel.org>, <keyrings@...r.kernel.org>,
<linux-crypto@...r.kernel.org>, <zohar@...ux.ibm.com>,
<linux-integrity@...r.kernel.org>,
Roberto Sassu <roberto.sassu@...wei.com>
Subject: Re: [PATCH v2 12/14] PGP: Provide a key type for testing PGP
signatures
On 8/18/24 09:57, Roberto Sassu wrote:
...
> diff --git a/crypto/asymmetric_keys/pgp_test_key.c b/crypto/asymmetric_keys/pgp_test_key.c
> new file mode 100644
> index 000000000000..e067dedf6ca0
> --- /dev/null
> +++ b/crypto/asymmetric_keys/pgp_test_key.c
> @@ -0,0 +1,129 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/* Testing module to load key from trusted PGP message
> + *
> + * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
> + * Written by David Howells (dhowells@...hat.com)
> + */
> +
> +#define pr_fmt(fmt) "PGPtest: "fmt
> +#include <linux/key.h>
> +#include <linux/key-type.h>
> +#include <linux/cred.h>
> +#include <linux/err.h>
> +#include <linux/module.h>
> +#include <linux/verification.h>
> +#include <keys/user-type.h>
> +#include <keys/system_keyring.h>
> +#include <crypto/pgp.h>
> +
> +#include "pgp_parser.h"
> +
> +MODULE_LICENSE("GPL");
Missing MODULE_DESCRIPTION()
Powered by blists - more mailing lists