Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 145537
Alias:
Product:
Component:
Status: RESOLVED
Resolution: UPSTREAM
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sebastian Schuberth <sschuberth@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145537 depends on: Show dependency tree
Bug 145537 blocks: 162967
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-29 16:36 0000
Please include the patches mentioned below to add support for the VIA PadLock
hardware crypto-engine (present on many Mini-ITX boards) to the OpenSSL
ebuilds.

OpenSSL 0.9.8
http://www.logix.cz/michal/devel/padlock/openssl-0.9.8b-sha.diff

OpenSSL 0.9.7
http://www.logix.cz/michal/devel/padlock/openssl-0.9.7d-padlock-glue.diff
http://www.logix.cz/michal/devel/padlock/openssl-0.9.7d-padlock-engine.diff

------- Comment #1 From SpanKY 2006-08-30 07:28:38 0000 -------
needs to go through upstream: openssl-dev@openssl.org

------- Comment #2 From Sebastian Schuberth 2006-08-30 08:28:00 0000 -------
The patch was already posted there, all found issues were resolved, the patch
was re-posted, but there was no further reaction on openssl-dev. See the
original post at:

http://www.mail-archive.com/openssl-dev@openssl.org/msg20394.html

See the new patch which addresses all issues at:

http://www.mail-archive.com/openssl-dev@openssl.org/msg21415.html

As you can see there was no response for almost two months. I was hoping Gentoo
could incorporate this very useful patch quicker than openssl itself. The patch
should be removed when openssl itself somes with it, of course.

------- Comment #3 From Jakub Moc (RETIRED) 2006-09-22 04:37:06 0000 -------
*** Bug 148629 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2006-09-22 05:20:43 0000 -------
*** Bug 148629 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-09-23 10:59:09 0000 -------
*** Bug 148784 has been marked as a duplicate of this bug. ***

------- Comment #6 From Bertrand Jacquin 2006-11-09 10:00:44 0000 -------
Many could you provide an ebuild with patch for an overlay ?

------- Comment #7 From Bertrand Jacquin 2006-11-09 10:21:11 0000 -------
s/many/maybe

------- Comment #8 From FrancoTampieri 2007-04-13 06:44:42 0000 -------
For who has a crypto engine platform like VIA C3 Padlock, there is an option to
enable during the ./configure that enable OpenSSH to use the crypto HW engine.

The option is --with-ssl-engine, I have modified the 4.5_p1-r1.ebuild to
include this parameter and the system goes well. No code patch, just a simple
option to enable in the ebuid.

I hope that my experience may help someone.

Best regards

Franco Tampieri

------- Comment #9 From Jakub Moc (RETIRED) 2007-06-20 18:06:43 0000 -------
*** Bug 182719 has been marked as a duplicate of this bug. ***

------- Comment #10 From cilly 2007-07-13 21:14:18 0000 -------
Please add useflag --with-ssl-engine, I use it in general for all installs of
openssl.

Otherwise, openssl does not build any engine which is included, i.e. Padlock:

openssl engine padlock
12766:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared
library:dso_dlfcn.c:162:filename(/usr/lib/engines/libpadlock.so):
/usr/lib/engines/libpadlock.so: cannot open shared object file: No such file or
directory12766:error:25070067:DSO support routines:DSO_load:could not load the
shared library:dso_lib.c:244:12766:error:260B6084:engine
routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:12766:error:2606A074:engine
routines:ENGINE_by_id:no such engine:eng_list.c:415:id=padlock

padlock is now included in 0.98 source.

------- Comment #11 From cilly 2007-07-13 21:34:36 0000 -------
hm, seems it is not working in the newer sources anymore any idea?

------- Comment #12 From Jakub Moc (RETIRED) 2007-07-14 07:20:21 0000 -------
*** Bug 185263 has been marked as a duplicate of this bug. ***

------- Comment #13 From Farid 2009-09-12 16:37:51 0000 -------
What happened with this?
This is still an issue, but why has there not been any action for more than two
years? Have I missed something?

dev-libs/openssl-0.9.8k-r1 does not seem to have padlock support
(--with-ssl-engine).

In my opinion there should be a USE flag for padlock.

------- Comment #14 From Sebastian Schuberth 2009-09-13 11:10:59 0000 -------
I get:

udat ~ # equery list openssl
[ Searching for package 'openssl' in all categories among: ]
 * installed packages
[I--] [  ] dev-libs/openssl-0.9.8k (0)

udat ~ # openssl engine padlock
(padlock) VIA PadLock (no-RNG, ACE)

So everything seems to be fine (upstream). IMHO there's no need for a padlock
USE flag. If at all, there maybe could be a USE flag to match the
"--with-ssl-engine" configure option. But as this option seems to be enabled by
default now, I see no real need to add a USE flag. Anyway, this would IMHO be a
different issue requiring a new bug report.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug