From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.high-consulting.de ([62.245.247.194]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAaxs-0003Rj-Gl for barebox@lists.infradead.org; Mon, 23 Apr 2018 12:53:11 +0000 Message-ID: <1524487970.8922.2.camel@high-consulting.de> From: Gerd Pauli Date: Mon, 23 Apr 2018 14:52:50 +0200 In-Reply-To: <20180423083926.cemu3wzcosahvm4f@pengutronix.de> References: <20180420080114.9148-1-gp@high-consulting.de> <20180423083926.cemu3wzcosahvm4f@pengutronix.de> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v1] Crypt and decrypt files using password in keystore. To: Sascha Hauer Cc: barebox@lists.infradead.org SGkgU2FzY2hhLAoKVGhpcyBpcyBub3QgdGhlIHNhbWUgYXMgaW4gTGludXggQ3J5cHRvcCBBcGku IFRoZSBnb2FsIG9mIHRoaXMgY29tbWFuZAphbmQgbGlicmFyeSBpcyB0byBwcm92aWRlIGEgY29t cGF0aWJsZSBjb21tYW5kIHdpdGggdGhlIGNjcnlwdCB0b29sCmZyb20gbGludXguCmh0dHBzOi8v cGFja2FnZXMuZGViaWFuLm9yZy9zdHJldGNoL2NjcnlwdApJdCBpcyBub3QgaW50ZW5kZWQgdG8g d3JpdGUgYSBzdGFuZGFyZCBBRVMgQ3J5cHRpbmcgVG9vbC4KClBsZWFzZSB0ZWxsIG1lIGlmIHRo aXMgaXMgdXNlZnVsIGZvciBtZXJnaW5nIGxpa2UgdGhpcy7CoApUaGVuIGkgY2xlYW4gdXAgc29t ZSBzcGFjZXMgaW4gdGhlIGNvZGUgYW5kIHNlbmQgYWdhaW4gKCBjaGVja3NjcmlwdCApLgoKSWYg bm90LiBTb3JyeS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