From patchwork Wed Jan 9 06:33:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ummeegge X-Patchwork-Id: 2023 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id 36A1E861F12 for ; Tue, 8 Jan 2019 19:33:47 +0000 (GMT) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 3C5FD221C75C; Tue, 8 Jan 2019 19:33:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1546976026; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references:list-id: list-unsubscribe:list-subscribe:list-post; bh=61ZRp0QQOQxaLl7KRer1TaTBVHKi1IlHMEQWvuYpkcE=; b=I+YdfZ1DRICcAoEnXTP/hCEDwKCc0vBBhN+90MfQSRklUCXBmleqsid6GFBy9Cqgfv86p4 +PxKi9CiPagWS35/KmPkJpjqpUsY11ps3PL5eQcIVUgZdqshzLIDFDngEqh6kP6XMvXLsR IzxsO1ZbFXa2R47r9dT5cmRwIoChTbjUIVwXqaHEFt5dpfbJKCA5B8KaK8zxv1lUY5DwKr jMtPfTO7R44+rY1Pr98ZcSrUKPxv5phHi+NQEwWV8mxObOUueTx4waiBiYhxGCqbC40E1J xNXjJqy3Ik8pbI6TV0iC002bnFHbZFZ08BFgOk7pCmMHVR0rsz92/u2G7av9mA== Received: from ipfire-server.local (i59F5F2BE.versanet.de [89.245.242.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 0400B21B7135; Tue, 8 Jan 2019 19:33:42 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1546976023; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=61ZRp0QQOQxaLl7KRer1TaTBVHKi1IlHMEQWvuYpkcE=; b=aMHPbeu69W/US3ayDZubqmfQ/yRwPAGxnke8tysZfXRFBZ3Z5CdcfPFNp7TwRUJsZvTngu l4qwvDzEPrd5TxprHOVWcPvN8h+OicQXgtuRU7Ax8b09GKWvMqLR9G4RodH5t5WD6CbkVV OpiS8HxWCtb6EsbXpZkwTbNKlplwzOCScoaezSEbMTCNzwwf+WW37o954LuCXFJlSXygIq 9XJsczAcn5mwF2U7rprVa0mRYM0jmSBlUomLotcZS936OMkoN+A5HYL1OQljD1vsBTpf97 Sc2FpsEHDTJFppBiZt4euZqLUKnCC8nBDYTAYSZHor9g/3UPZaRoEUJJL618Ew== From: Erik Kapfer To: development@lists.ipfire.org Subject: [PATCH] del_rand: Deletion of RAND file in openssl config Date: Tue, 8 Jan 2019 20:33:32 +0100 Message-Id: <20190108193332.24543-1-ummeegge@ipfire.org> X-Mailer: git-send-email 2.12.2 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=ummeegge smtp.mailfrom=ummeegge@ipfire.org X-Spamd-Result: default: False [-2.37 / 11.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.27)[-0.090,0]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8881, ipnet:89.245.240.0/20, country:DE]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%] X-Spam-Status: No, score=-2.37 X-Rspamd-Server: mail01.i.ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Fixes #11943 Since the kernel RNG should do this, there is no need for this anymore. Signed-off-by: Erik Kapfer --- config/ovpn/openssl/ovpn.cnf | 2 -- config/ssl/openssl.cnf | 2 -- 2 files changed, 4 deletions(-) diff --git a/config/ovpn/openssl/ovpn.cnf b/config/ovpn/openssl/ovpn.cnf index 40daf2a0a..96c3dcb09 100644 --- a/config/ovpn/openssl/ovpn.cnf +++ b/config/ovpn/openssl/ovpn.cnf @@ -1,5 +1,4 @@ HOME = . -RANDFILE = /var/ipfire/ovpn/ca/.rnd oid_section = new_oids [ new_oids ] @@ -17,7 +16,6 @@ certificate = $dir/ca/cacert.pem serial = $dir/certs/serial crl = $dir/crl.pem private_key = $dir/ca/cakey.pem -RANDFILE = $dir/ca/.rand x509_extensions = usr_cert default_days = 999999 default_crl_days = 30 diff --git a/config/ssl/openssl.cnf b/config/ssl/openssl.cnf index 9d1e6e1ff..3b980fcd4 100644 --- a/config/ssl/openssl.cnf +++ b/config/ssl/openssl.cnf @@ -1,5 +1,4 @@ HOME = . -RANDFILE = /var/tmp/.rnd oid_section = new_oids [ new_oids ] @@ -17,7 +16,6 @@ certificate = $dir/ca/cacert.pem serial = $dir/certs/serial crl = $dir/crls/cacrl.pem private_key = $dir/private/cakey.pem -RANDFILE = $dir/tmp/.rand x509_extensions = usr_cert default_days = 999999 default_crl_days= 30