Message-ID: Date: Thu, 20 Jan 2022 11:55:17 +0100 MIME-Version: 1.0 Content-Language: en-GB References: <20211214165928.30676-1-selva.nair@...277...> <20211214165928.30676-10-selva.nair@...277...> From: Arne Schwabe In-Reply-To: <20211214165928.30676-10-selva.nair@...277...> Subject: Re: [Openvpn-devel] [PATCH v3 09/18] Allow management client to announce pss padding support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: selva.nair@...277..., openvpn-devel@lists.sourceforge.net Am 14.12.21 um 17:59 schrieb selva.nair@...277...: > From: Selva Nair > > The --management-external-key option can currently indicate support > for 'nopadding' or 'pkcs1' signatures in the client. Add 'pss' as an > option to announce that PSS signing requests are accepted. > > To match, extend the algorithm string in PK_SIGN request to > include the following format: > > - RSA_PKCS1_PSS_PADDING,hashlag=name,saltlen=[max|digest] > > Here 'name' is the short common name of the hash algorithm. > E.g., SHA1, SHA256 etc. > > Existing formats 'ECDSA' and 'RSA_PKCS1_PADDING' are unchanged. > > v2 changes: Fix typos and other sloppiness in documentation and > commit message. > > Signed-off-by: Selva Nair Acked-By: Arne Schwabe