Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762445 - app-crypt/tpm2-tss with USE=fapi is missing libressl support
Summary: app-crypt/tpm2-tss with USE=fapi is missing libressl support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christopher Byrne
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2020-12-29 16:50 UTC by Paolo Pedroni
Modified: 2021-01-21 03:06 UTC (History)
2 users (show)

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


Attachments
Add libressl support (0001-app-crypt-tpm2-tss-Add-libressl-support.patch,5.00 KB, patch)
2021-01-21 02:58 UTC, Christopher Byrne
Details | Diff
Add libressl support (0002-app-crypt-tpm2-tss-Add-libressl-support.patch,2.68 KB, patch)
2021-01-21 02:59 UTC, Christopher Byrne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2020-12-29 16:50:42 UTC
In general app-crypt/tpm2-tss can be built with either mbedtls or openssl, but USE=fapi only supports openssl. It would be nice to have a libressl alternative for that case, if it is possible.
Comment 1 Ionen Wolkens gentoo-dev 2020-12-29 17:19:33 UTC
Not up to me but feel can safely say it's not happening.
https://github.com/tpm2-software/tpm2-tss/issues/1235
Comment 2 Christopher Byrne 2020-12-30 02:43:37 UTC
Turn out libressl now supports the required functions since 3.0.2: https://github.com/libressl-portable/portable/issues/547 . After editing the ebuild, tpm2-tss seems to build just fine using libressl and the "fapi" flag, so I see no reason not to allow it.
Comment 3 Ionen Wolkens gentoo-dev 2020-12-31 23:47:44 UTC
Nice that it's possible, but given seems bug #762847 will go forward it'll be short lived.
Comment 4 Christopher Byrne 2021-01-21 02:58:33 UTC
Created attachment 683935 [details, diff]
Add libressl support
Comment 5 Christopher Byrne 2021-01-21 02:59:09 UTC
Created attachment 683938 [details, diff]
Add libressl support
Comment 6 Christopher Byrne 2021-01-21 03:06:07 UTC
Given that libressl is on its way out, there seems to be little point in adding support, however, I will include the patches needed here so the can used in an overlay or submitted upstream.