crypto: KEYS: convert public key to akcipher api
Subsystems (5)
v5 cover crypto: KEYS: convert public key to akcipher api
Resend v5 rebased on top of 4.5
This patch set converts the module verification and digital signature code to the new akcipher API.
RSA implementation has been removed from crypto/asymmetric_keys and the new API is used for cryptographic primitives.
There is no need for MPI above the akcipher API anymore. Modules can be verified with software as well as HW RSA implementations.
Patches generated against cryptodev-2.6
Changes in v5:
- Revert back v4 and add a new patch that removes the MPIs from the public_key_signature struct after the asymmetric_verify funtc in digsig is converted as proposed by Herbert.
Changes in v4:
- Flatten both patches into one to avoid bisect compilation problems.
Changes in v3:
- Don't include keys/asymmetric-type.h in crypto/public_key.h
Changes in v2:
- Fix the whey public_key_signature is setup. The pointer s needs to point to the signature instread of the signature_v2_hdr.
- Select CRYPTO_RSA when INTEGRITY_ASYMMETRIC_KEYS is selected.
---
Tadeusz Struk (3):
crypto: KEYS: convert public key and digsig asym to the akcipher api
integrity: convert digsig to akcipher api
crypto: public_key: remove MPIs from public_key_signature struct
crypto/asymmetric_keys/Kconfig | 2 crypto/asymmetric_keys/Makefile | 7 - crypto/asymmetric_keys/pkcs7_parser.c | 12 +- crypto/asymmetric_keys/pkcs7_trust.c | 2 crypto/asymmetric_keys/pkcs7_verify.c | 2 crypto/asymmetric_keys/public_key.c | 64 +++------ crypto/asymmetric_keys/public_key.h | 36 ----- crypto/asymmetric_keys/rsa.c | 213 +++++++++++------------------ crypto/asymmetric_keys/x509_cert_parser.c | 37 +---- crypto/asymmetric_keys/x509_public_key.c | 17 +- crypto/asymmetric_keys/x509_rsakey.asn1 | 4 - include/crypto/public_key.h | 48 +------ security/integrity/Kconfig | 1 security/integrity/digsig_asymmetric.c | 10 - 14 files changed, 139 insertions(+), 316 deletions(-) delete mode 100644 crypto/asymmetric_keys/public_key.h delete mode 100644 crypto/asymmetric_keys/x509_rsakey.asn1
--
PATCH v5 1/3 crypto: KEYS: convert public key and digsig asym to the akcipher api
This patch converts the module verification code to the new akcipher API.
--- crypto/asymmetric_keys/Kconfig | 2 crypto/asymmetric_keys/Makefile | 7 - crypto/asymmetric_keys/pkcs7_parser.c | 12 +- crypto/asymmetric_keys/pkcs7_trust.c | 2 crypto/asymmetric_keys/pkcs7_verify.c | 2 crypto/asymmetric_keys/public_key.c | 64 +++------ crypto/asymmetric_keys/public_key.h | 36 ----- crypto/asymmetric_keys/rsa.c | 213 +++++++++++------------------ crypto/asymmetric_keys/x509_cert_parser.c | 37 +---- crypto/asymmetric_keys/x509_public_key.c | 17 +- crypto/asymmetric_keys/x509_rsakey.asn1 | 4 - include/crypto/public_key.h | 34 +---- 12 files changed, 134 insertions(+), 296 deletions(-) delete mode 100644 crypto/asymmetric_keys/public_key.h delete mode 100644 crypto/asymmetric_keys/x509_rsakey.asn1
crypto/asymmetric_keys/Kconfig +1 -1
@@ -22,7 +22,7 @@ config ASYMMETRIC_PUBLIC_KEY_SUBTYPE config PUBLIC_KEY_ALGO_RSA tristate "RSA public-key algorithm" - select MPILIB + select CRYPTO_RSA help This option enables support for the RSA algorithm (PKCS#1, RFC3447).
crypto/asymmetric_keys/Makefile +2 -5
@@ -16,21 +16,18 @@ obj-$(CONFIG_X509_CERTIFICATE_PARSER) += x509_key_parser.o x509_key_parser-y := \ x509-asn1.o \ x509_akid-asn1.o \ - x509_rsakey-asn1.o \ x509_cert_parser.o \ x509_public_key.o $(obj)/x509_cert_parser.o: \ $(obj)/x509-asn1.h \ - $(obj)/x509_akid-asn1.h \ - $(obj)/x509_rsakey-asn1.h + $(obj)/x509_akid-asn1.h + $(obj)/x509-asn1.o: $(obj)/x509-asn1.c $(obj)/x509-asn1.h $(obj)/x509_akid-asn1.o: $(obj)/x509_akid-asn1.c $(obj)/x509_akid-asn1.h -$(obj)/x509_rsakey-asn1.o: $(obj)/x509_rsakey-asn1.c $(obj)/x509_rsakey-asn1.h clean-files += x509-asn1.c x509-asn1.h clean-files += x509_akid-asn1.c x509_akid-asn1.h -clean-files += x509_rsakey-asn1.c x509_rsakey-asn1.h # # PKCS#7 message handling
crypto/asymmetric_keys/pkcs7_parser.c +5 -7
@@ -15,7 +15,7 @@#include <linux/slab.h> #include <linux/err.h> #include <linux/oid_registry.h> -#include "public_key.h" +#include <crypto/public_key.h> #include "pkcs7_parser.h" #include "pkcs7-asn1.h"
@@ -44,7 +44,7 @@ struct pkcs7_parse_context {static void pkcs7_free_signed_info (struct pkcs7_signed_info *sinfo) {if (sinfo) { -mpi_free (sinfo->sig.mpi[0 ]); +kfree (sinfo->sig.s);kfree (sinfo->sig.digest);kfree (sinfo->signing_cert_id);kfree (sinfo);
@@ -614,16 +614,14 @@ int pkcs7_sig_note_signature(void *context, size_t hdrlen, const void *value, size_t vlen) {struct pkcs7_parse_context *ctx = context; -MPI mpi;BUG_ON (ctx->sinfo->sig.pkey_algo !=PKEY_ALGO_RSA ); - mpi =mpi_read_raw_data (value, vlen); -if (!mpi) + ctx->sinfo->sig.s =kmemdup (value, vlen,GFP_KERNEL ); +if (!ctx->sinfo->sig.s)return -ENOMEM ; - ctx->sinfo->sig.mpi[0 ] = mpi; - ctx->sinfo->sig.nr_mpi =1 ; + ctx->sinfo->sig.s_size = vlen;return 0 ; }
crypto/asymmetric_keys/pkcs7_trust.c +1 -1
@@ -17,7 +17,7 @@#include <linux/asn1.h> #include <linux/key.h> #include <keys/asymmetric-type.h> -#include "public_key.h" +#include <crypto/public_key.h> #include "pkcs7_parser.h" /**
crypto/asymmetric_keys/pkcs7_verify.c +1 -1
@@ -16,7 +16,7 @@#include <linux/err.h> #include <linux/asn1.h> #include <crypto/hash.h> -#include "public_key.h" +#include <crypto/public_key.h> #include "pkcs7_parser.h" /*
crypto/asymmetric_keys/public_key.c +22 -42
109 lines not on this page · raw message
crypto/asymmetric_keys/public_key.h deleted +0 -36
@@ -1,36 +0,0 @@ -/* Public key algorithm internals -* -* See Documentation/crypto/asymmetric-keys.txt -* -* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. -* Written by David Howells ([email protected]) -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public Licence -* as published by the Free Software Foundation; either version -* 2 of the Licence, or (at your option) any later version. -*/ - -#include <crypto/public_key.h> - -extern struct asymmetric_key_subtype public_key_subtype; - -/* -* Public key algorithm definition. -*/ -struct public_key_algorithm { -const char *name; -u8 n_pub_mpi;/* Number of MPIs in public key */ -u8 n_sec_mpi;/* Number of MPIs in secret key */ -u8 n_sig_mpi;/* Number of MPIs in a signature */ -int (*verify_signature)(const struct public_key *key, -const struct public_key_signature *sig); -}; - -extern const struct public_key_algorithm RSA_public_key_algorithm; - -/* -* public_key.c -*/ -extern int public_key_verify_signature (const struct public_key *pk, -const struct public_key_signature *sig);
crypto/asymmetric_keys/rsa.c +79 -134
260 lines not on this page · raw message
crypto/asymmetric_keys/x509_cert_parser.c +7 -30
@@ -15,11 +15,10 @@#include <linux/slab.h> #include <linux/err.h> #include <linux/oid_registry.h> -#include "public_key.h" +#include <crypto/public_key.h> #include "x509_parser.h" #include "x509-asn1.h" #include "x509_akid-asn1.h" -#include "x509_rsakey-asn1.h" struct x509_parse_context {struct x509_certificate *cert;/* Certificate being constructed */
@@ -56,7 +55,7 @@ void x509_free_certificate(struct x509_certificate *cert)kfree (cert->akid_id);kfree (cert->akid_skid);kfree (cert->sig.digest); -mpi_free (cert->sig.rsa.s); +kfree (cert->sig.s);kfree (cert); } }
@@ -103,12 +102,12 @@ struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) } } -/* Decode the public key */ - ret =asn1_ber_decoder (&x509_rsakey_decoder, ctx, - ctx->key, ctx->key_size); -if (ret <0 ) + cert->pub->key =kmemdup (ctx->key, ctx->key_size,GFP_KERNEL ); +if (!cert->pub->key) goto error_decode; + cert->pub->keylen = ctx->key_size; +/* Generate cert issuer + serial number key ID */ kid = asymmetric_key_generate_id(cert->raw_serial, cert->raw_serial_size,
@@ -124,6 +123,7 @@ struct x509_certificate *x509_cert_parse(const void *data, size_t datalen)return cert; error_decode: +kfree (cert->pub->key);kfree (ctx); error_no_ctx:x509_free_certificate (cert);
@@ -404,29 +404,6 @@ int x509_extract_key_data(void *context, size_t hdrlen,return 0 ; } -/* -* Extract a RSA public key value -*/ -int rsa_extract_mpi (void *context,size_t hdrlen, -unsigned char tag, -const void *value,size_t vlen) -{ -struct x509_parse_context *ctx = context; -MPI mpi; - -if (ctx->nr_mpi >=ARRAY_SIZE (ctx->cert->pub->mpi)) { -pr_err ("Too many public key MPIs in certificate\n" ); -return -EBADMSG ; - } - - mpi =mpi_read_raw_data (value, vlen); -if (!mpi) -return -ENOMEM ; - - ctx->cert->pub->mpi[ctx->nr_mpi++] = mpi; -return 0 ; -} -/* The keyIdentifier in AuthorityKeyIdentifier SEQUENCE is tag(CONT,PRIM,0) */ #define SEQ_TAG_KEYID (ASN1_CONT << 6)
crypto/asymmetric_keys/x509_public_key.c +6 -11
@@ -13,15 +13,11 @@#include <linux/module.h> #include <linux/kernel.h> #include <linux/slab.h> -#include <linux/err.h> -#include <linux/mpi.h> -#include <linux/asn1_decoder.h> #include <keys/asymmetric-subtype.h> #include <keys/asymmetric-parser.h> #include <keys/system_keyring.h> #include <crypto/hash.h> #include "asymmetric_keys.h" -#include "public_key.h" #include "x509_parser.h" static bool use_builtin_keys;
@@ -167,13 +163,15 @@ int x509_get_sig_params(struct x509_certificate *cert)if (cert->unsupported_crypto)return -ENOPKG ; -if (cert->sig.rsa.s) +if (cert->sig.s)return 0 ; - cert->sig.rsa.s =mpi_read_raw_data (cert->raw_sig, cert->raw_sig_size); -if (!cert->sig.rsa.s) + cert->sig.s =kmemdup (cert->raw_sig, cert->raw_sig_size, +GFP_KERNEL ); +if (!cert->sig.s)return -ENOMEM ; - cert->sig.nr_mpi =1 ; + + cert->sig.s_size = cert->raw_sig_size;/* Allocate the hashing algorithm we're going to need and find out how * big the hash operational data will be.
@@ -296,8 +294,6 @@ static int x509_key_preparse(struct key_preparsed_payload *prep)if (cert->pub->pkey_algo >=PKEY_ALGO__LAST || cert->sig.pkey_algo >=PKEY_ALGO__LAST || cert->sig.pkey_hash_algo >=PKEY_HASH__LAST || - !pkey_algo[cert->pub->pkey_algo] || - !pkey_algo[cert->sig.pkey_algo] || !hash_algo_name[cert->sig.pkey_hash_algo]) { ret = -ENOPKG ; goto error_free_cert;
@@ -309,7 +305,6 @@ static int x509_key_preparse(struct key_preparsed_payload *prep) pkey_algo_name[cert->sig.pkey_algo], hash_algo_name[cert->sig.pkey_hash_algo]); - cert->pub->algo = pkey_algo[cert->pub->pkey_algo]; cert->pub->id_type =PKEY_ID_X509 ;/* Check the signature on the key if it appears to be self-signed */
crypto/asymmetric_keys/x509_rsakey.asn1 deleted +0 -4
@@ -1,4 +0,0 @@ -RSAPublicKey ::= SEQUENCE { - modulus INTEGER ({ rsa_extract_mpi }), -- n - publicExponent INTEGER ({ rsa_extract_mpi }) -- e - }
include/crypto/public_key.h +10 -24
@@ -24,7 +24,6 @@ enum pkey_algo { };extern const char *const pkey_algo_name[PKEY_ALGO__LAST ]; -extern const struct public_key_algorithm *pkey_algo[PKEY_ALGO__LAST ];/* asymmetric key implementation supports only up to SHA224 */ #define PKEY_HASH__LAST (HASH_ALGO_SHA224 + 1)
@@ -59,31 +58,10 @@ extern const char *const key_being_used_for[NR__KEY_BEING_USED_FOR];* part. */ struct public_key { -const struct public_key_algorithm *algo; -u8 capabilities; -#define PKEY_CAN_ENCRYPT 0x01 -#define PKEY_CAN_DECRYPT 0x02 -#define PKEY_CAN_SIGN 0x04 -#define PKEY_CAN_VERIFY 0x08 +void *key; +u32 keylen;enum pkey_algo pkey_algo :8 ;enum pkey_id_type id_type :8 ; -union { -MPI mpi[5 ]; -struct { -MPI p;/* DSA prime */ -MPI q;/* DSA group order */ -MPI g;/* DSA group generator */ -MPI y;/* DSA public-key value = g^x mod p */ -MPI x;/* DSA secret exponent (if present) */ - } dsa; -struct { -MPI n;/* RSA public modulus */ -MPI e;/* RSA public encryption exponent */ -MPI d;/* RSA secret encryption exponent (if present) */ -MPI p;/* RSA secret prime (if present) */ -MPI q;/* RSA secret prime (if present) */ - } rsa; - }; };extern void public_key_destroy (void *payload);
@@ -92,6 +70,8 @@ extern void public_key_destroy(void *payload);* Public key cryptography signature data */ struct public_key_signature { +u8 *s;/* Signature */ +u32 s_size;/* Number of bytes in signature */ u8 *digest;u8 digest_size;/* Number of bytes in digest */ u8 nr_mpi;/* Occupancy of mpi[] */
@@ -109,6 +89,7 @@ struct public_key_signature { }; }; +extern struct asymmetric_key_subtype public_key_subtype;struct key ;extern int verify_signature (const struct key *key,const struct public_key_signature *sig);
@@ -119,4 +100,9 @@ extern struct key *x509_request_asymmetric_key(struct key *keyring,const struct asymmetric_key_id *skid, bool partial); +int public_key_verify_signature (const struct public_key *pkey, +const struct public_key_signature *sig); + +int rsa_verify_signature (const struct public_key *pkey, +const struct public_key_signature *sig);#endif /* _LINUX_PUBLIC_KEY_H */
David Howells
maintainerRe: [PATCH v5 1/3] crypto: KEYS: convert public key and digsig asym to the akcipher api
Why didn't you put the RSA signature parsing - ie. where the OID and the other bits are checked - into crypto/rsa.c?
David
Re: [PATCH v5 1/3] crypto: KEYS: convert public key and digsig asym to the akcipher api
Hi David,
Quoted 3 lines · David Howells
Why didn't you put the RSA signature parsing - ie. where the OID and the other bits are checked - into
crypto/rsa.c?
Do you want to get rid of the crypto/asymmetric_keys/rsa.c completely? I wanted to make the conversion churn as small as possible. I can move it in a subsequent patch if you want.
Thanks,
Signature · 1 line
TS
David Howells
maintainerRe: [PATCH v5 1/3] crypto: KEYS: convert public key and digsig asym to the akcipher api
Quoted 7 lines · Tadeusz Struk
Quoted 3 lines
Why didn't you put the RSA signature parsing - ie. where the OID and the other bits are checked - into
crypto/rsa.c?Do you want to get rid of the
crypto/asymmetric_keys/rsa.ccompletely? I wanted to make the conversion churn as small as possible. I can move it in a subsequent patch if you want.
I was thinking of getting rid of it completely, yes.
But I was wondering if you had some other motivation, such as keeping the crypto layer purely the mathematical operation.
It's an interesting question where to draw the line, actually. The answer may hinge on what things like the TPM do. I should ask the TPM folks.
David
David Howells
maintainerRe: [PATCH v5 1/3] crypto: KEYS: convert public key and digsig asym to the akcipher api
Quoted 10 lines · David Howells
Quoted 7 lines · Tadeusz Struk
Quoted 3 lines
Why didn't you put the RSA signature parsing - ie. where the OID and the other bits are checked - into
crypto/rsa.c?Do you want to get rid of the
crypto/asymmetric_keys/rsa.ccompletely? I wanted to make the conversion churn as small as possible. I can move it in a subsequent patch if you want.
Quoted 7 lines
I was thinking of getting rid of it completely, yes.
But I was wondering if you had some other motivation, such as keeping the crypto layer purely the mathematical operation.
It's an interesting question where to draw the line, actually. The answer may hinge on what things like the TPM do. I should ask the TPM folks.
Looking in the TPM emulator, the TPM_Sign operation indeed puts the wrappings on, so this needs to go into the crypto layer.
David
Re: [PATCH v5 1/3] crypto: KEYS: convert public key and digsig asym to the akcipher api
Hi David,
Quoted 14 lines · David Howells
Quoted 12 lines · David Howells
Quoted 12 lines
Quoted 7 lines · Tadeusz Struk
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Why didn't you put the RSA signature parsing - ie. where the OID and the other bits are checked - into
crypto/rsa.c?Do you want to get rid of the
crypto/asymmetric_keys/rsa.ccompletely? I wanted to make the conversion churn as small as possible. I can move it in a subsequent patch if you want.I was thinking of getting rid of it completely, yes.
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
But I was wondering if you had some other motivation, such as keeping the crypto layer purely the mathematical operation.
It's an interesting question where to draw the line, actually. The answer may hinge on what things like the TPM do. I should ask the TPM folks.
Looking in the TPM emulator, the
TPM_Signoperation indeed puts the wrappings on, so this needs to go into the crypto layer.
David,
If you could tell me what repo should I work with then I can prepare subsequent patch to move this to a new file under crypto/
Thanks,
Signature · 1 line
TS
PATCH v5 2/3 integrity: convert digsig to akcipher api
In reply to Tadeusz StrukConvert asymmetric_verify to akcipher api.
--- security/integrity/Kconfig | 1 + security/integrity/digsig_asymmetric.c | 10 +++------- 2 files changed, 4 insertions(+), 7 deletions(-)
security/integrity/Kconfig +1 -0
@@ -36,6 +36,7 @@ config INTEGRITY_ASYMMETRIC_KEYS select ASYMMETRIC_KEY_TYPE select ASYMMETRIC_PUBLIC_KEY_SUBTYPE select PUBLIC_KEY_ALGO_RSA + select CRYPTO_RSA select X509_CERTIFICATE_PARSER help This option enables digital signature verification using
security/integrity/digsig_asymmetric.c +3 -7
@@ -106,13 +106,9 @@ int asymmetric_verify(struct key *keyring, const char *sig, pks.pkey_hash_algo = hdr->hash_algo; pks.digest = (u8 *)data; pks.digest_size = datalen; - pks.nr_mpi =1 ; - pks.rsa.s =mpi_read_raw_data (hdr->sig, siglen); - -if (pks.rsa.s) - ret =verify_signature (key, &pks); - -mpi_free (pks.rsa.s); + pks.s = hdr->sig; + pks.s_size = siglen; + ret =verify_signature (key, &pks);key_put (key);pr_debug ("%s() = %d\n" , __func__, ret);return ret;
PATCH v5 3/3 crypto: public_key: remove MPIs from public_key_signature struct
In reply to Tadeusz StrukAfter digsig_asymmetric.c is converted the MPIs can be now safely removed from the public_key_signature structure.
--- include/crypto/public_key.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-)
include/crypto/public_key.h +1 -13
@@ -14,7 +14,6 @@#ifndef _LINUX_PUBLIC_KEY_H#define _LINUX_PUBLIC_KEY_H -#include <linux/mpi.h> #include <crypto/hash_info.h> enum pkey_algo {
@@ -73,20 +72,9 @@ struct public_key_signature {u8 *s;/* Signature */ u32 s_size;/* Number of bytes in signature */ u8 *digest; -u8 digest_size;/* Number of bytes in digest */ -u8 nr_mpi;/* Occupancy of mpi[] */ +u8 digest_size;/* Number of bytes in digest */ enum pkey_algo pkey_algo : 8; enum hash_algo pkey_hash_algo : 8; -union { -MPI mpi[2 ]; -struct { -MPI s;/* m^d mod n */ - } rsa; -struct { -MPI r; -MPI s; - } dsa; - }; };extern struct asymmetric_key_subtype public_key_subtype;
Quoted 10 lines · Tadeusz Struk
Resend v5 rebased on top of 4.5
This patch set converts the module verification and digital signature code to the new akcipher API.
RSA implementation has been removed fromcrypto/asymmetric_keysand the new API is used for cryptographic primitives.
There is no need for MPI above the akcipher API anymore. Modules can be verified with software as well as HW RSA implementations.Patches generated against cryptodev-2.6
Applied.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
David Howells
maintainerQuoted 1 line · Herbert Xu
Applied.
Hmmm... That means that the crypto branch and the security branch are going to conflict.
David
Herbert Xu
maintainerQuoted 3 lines · David Howells
Hmmm... That means that the crypto branch and the security branch are going to conflict.
I thought you were OK with it going in now as you said that you'll fix it up later. Sorry for the misunderstanding. Do you want me to revert?
Cheers,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
David Howells
maintainerQuoted 6 lines · Herbert Xu
Quoted 2 lines
Hmmm... That means that the crypto branch and the security branch are going to conflict.
I thought you were OK with it going in now as you said that you'll fix it up later. Sorry for the misunderstanding. Do you want me to revert?
Ummm. I did say I'd take it on top of my patches. How did you take it? Did you merge Tadeusz's branch? If so, I can probably merge it into mine also and git will Just Do The Right Thing™.
David
Herbert Xu
maintainerQuoted 4 lines · David Howells
Ummm. I did say I'd take it on top of my patches. How did you take it? Did you merge Tadeusz's branch? If so, I can probably merge it into mine also and git will Just Do The Right Thing™.
No I merged them as individual patches.
Cheers,
Signature · 7 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
David Howells
maintainerTransferring applied X.509 patches from crypto/next to security/next
In reply to Herbert XuQuoted 6 lines · Herbert Xu
Quoted 2 lines
Hmmm... That means that the crypto branch and the security branch are going to conflict.
I thought you were OK with it going in now as you said that you'll fix it up later. Sorry for the misunderstanding. Do you want me to revert?
If you can back them out, I'll apply them to my keys-next branch. Unless James is willing to rebase security/next on top of your crypto branch?
David
Re: Transferring applied X.509 patches from crypto/next to security/next
Hi Herbert,
Quoted 11 lines · David Howells
Quoted 6 lines · Herbert Xu
Quoted 2 lines
Hmmm... That means that the crypto branch and the security branch are going to conflict.
I thought you were OK with it going in now as you said that you'll fix it up later. Sorry for the misunderstanding. Do you want me to revert?
If you can back them out, I'll apply them to my keys-next branch. Unless James is willing to rebase
security/nexton top of your crypto branch?
Could we upstream these patches via James' tree? If you re-base these patches on top of the James' security-next branch and send him a pull request, we can then base on our patches on top of them.
Mimi
James Morris
maintainerRe: Transferring applied X.509 patches from crypto/next to security/next
In reply to David HowellsQuoted 5 lines · David Howells
Quoted 3 lines · Herbert Xu
Quoted 2 lines
Hmmm... That means that the crypto branch and the security branch are going to conflict.
Quoted 7 lines
Quoted 3 lines
I thought you were OK with it going in now as you said that you'll fix it up later. Sorry for the misunderstanding. Do you want me to revert?
If you can back them out, I'll apply them to my keys-next branch. Unless James is willing to rebase
security/nexton top of your crypto branch?
I don't want to rebase my tree.
Signature · 2 lines
James Morris <[email protected]>
Herbert Xu
maintainerRe: Transferring applied X.509 patches from crypto/next to security/next
Quoted 6 lines · James Morris
Quoted 4 lines
If you can back them out, I'll apply them to my keys-next branch. Unless James is willing to rebase
security/nexton top of your crypto branch?I don't want to rebase my tree.
OK, I've just reverted the patches and pushed it out.
Cheers,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
David Howells
maintainerRe: Transferring applied X.509 patches from crypto/next to security/next
Quoted 7 lines · Herbert Xu
Quoted 5 lines
Quoted 3 lines
If you can back them out, I'll apply them to my keys-next branch. Unless James is willing to rebase
security/nexton top of your crypto branch?I don't want to rebase my tree.
OK, I've just reverted the patches and pushed it out.
Thanks. Can I copy your Signed-off-by line into the patches or put you down as an Acked-by?
David
Re: Transferring applied X.509 patches from crypto/next to security/next
Quoted 6 lines · David Howells
Quoted 4 lines · Herbert Xu
Quoted 4 lines
Quoted 3 lines
If you can back them out, I'll apply them to my keys-next branch. Unless James is willing to rebase
security/nexton top of your crypto branch?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
I don't want to rebase my tree.
OK, I've just reverted the patches and pushed it out.
Thanks. Can I copy your Signed-off-by line into the patches or put you down as an Acked-by?
You can add my ack.
Cheers,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
David Howells
maintainerAre these in a public git branch somewhere that I can just merge?
David
Quoted 2 lines · David Howells
Are these in a public git branch somewhere that I can just merge?
No, after Herbert reverted them they only exist as separate patches:
https://patchwork.kernel.org/patch/8193021/raw/
https://patchwork.kernel.org/patch/8193001/raw/
https://patchwork.kernel.org/patch/8192991/raw/
Thanks
Signature · 1 line
TS