From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9yHf-0004NX-0e for qemu-devel@nongnu.org; Fri, 18 Dec 2015 11:53:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9yHd-0007Re-1h for qemu-devel@nongnu.org; Fri, 18 Dec 2015 11:53:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9yHc-0007RV-Sq for qemu-devel@nongnu.org; Fri, 18 Dec 2015 11:53:32 -0500 From: "Daniel P. Berrange" Date: Fri, 18 Dec 2015 16:53:15 +0000 Message-Id: <1450457600-19865-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PULL v1 0/5] Support for securely passing secrets to QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell The following changes since commit 18f49881cf8359e89396aac12f5d3cf3f8a632ba: configure: Fix shell syntax to placate OpenBSD's pdksh (2015-12-18 13:32:49 +0000) are available in the git repository at: git://github.com/berrange/qemu tags/pull-qcrypto-secrets-base-2015-12-18-1 for you to fetch changes up to 1d7b5b4afdcd76e24ec3678d5418b29d4ff06ad9: crypto: add support for loading encrypted x509 keys (2015-12-18 16:25:08 +0000) ---------------------------------------------------------------- Merge QCryptoSecret object support ---------------------------------------------------------------- Daniel P. Berrange (5): util: add base64 decoding function qemu-char: convert to use error checked base64 decode qga: convert to use error checked base64 decode crypto: add QCryptoSecret object class for password/key handling crypto: add support for loading encrypted x509 keys crypto/Makefile.objs | 1 + crypto/secret.c | 513 ++++++++++++++++++++++++++++++++++++++++++ crypto/tlscredsx509.c | 48 ++++ include/crypto/secret.h | 148 ++++++++++++ include/crypto/tlscredsx509.h | 1 + include/qemu/base64.h | 58 +++++ qapi-schema.json | 2 - qapi/crypto.json | 14 ++ qemu-char.c | 8 +- qemu-options.hx | 85 ++++++- qga/commands-posix.c | 11 +- qga/commands-win32.c | 11 +- qga/commands.c | 13 +- qmp-commands.hx | 2 - tests/.gitignore | 2 + tests/Makefile | 5 + tests/test-base64.c | 109 +++++++++ tests/test-crypto-secret.c | 452 +++++++++++++++++++++++++++++++++++++ util/Makefile.objs | 1 + util/base64.c | 60 +++++ 20 files changed, 1533 insertions(+), 11 deletions(-) create mode 100644 crypto/secret.c create mode 100644 include/crypto/secret.h create mode 100644 include/qemu/base64.h create mode 100644 tests/test-base64.c create mode 100644 tests/test-crypto-secret.c create mode 100644 util/base64.c -- 2.5.0