Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605460 - app-crypt/easy-rsa is not compatible with libressl
Summary: app-crypt/easy-rsa is not compatible with libressl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL: https://github.com/OpenVPN/easy-rsa/i...
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-01-12 10:10 UTC by Luca Barbato
Modified: 2018-10-05 20:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
openssl-1.0.cnf.patch (openssl-1.0.cnf.patch,3.75 KB, patch)
2017-12-12 17:02 UTC, Joerg Neikes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Barbato gentoo-dev 2017-01-12 10:10:45 UTC
Upstream issue https://github.com/OpenVPN/easy-rsa/issues/76

Ideally they could generate on-the-fly the cnf file instead of using the environment.
Comment 1 fkater 2017-02-28 08:44:30 UTC
FYI: For people who cannot wait, here is a simple workaround that WFM:

Install easy-rsa as usual. Instead of creating the file vars from vars.example
and setting the variables there, edit openssl-xxx.cnf directly: Replace each
occurrence of $ENV::VARIABLE by $VARIABLE, thus removing ENV::, and set
VARIABLE=value at the beginning of this config file. Grab comments and default
values from vars.example.
Comment 2 Joerg Neikes 2017-12-12 17:02:42 UTC
Created attachment 509610 [details, diff]
openssl-1.0.cnf.patch

openssl-1.0.cnf.patch fixed settings for app-crypt/easy-rsa with liressl.
Comment 3 Joerg Neikes 2017-12-12 17:29:41 UTC
(In reply to Joerg Neikes from comment #2)
> Created attachment 509610 [details, diff] [details, diff]
> openssl-1.0.cnf.patch
> 
> openssl-1.0.cnf.patch fixed settings for app-crypt/easy-rsa with liressl.

change
+EASYRSA_PKI="$EASYRSA/pki"
with
+EASYRSA_PKI=${EASYRSA}"/pki"
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-10-05 20:48:31 UTC
(In reply to Luca Barbato from comment #0)
> Upstream issue https://github.com/OpenVPN/easy-rsa/issues/76
> 
> Ideally they could generate on-the-fly the cnf file instead of using the
> environment.

3.0.5 (the latest in the tree) has the fix.