Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378013 - app-crypt/pvk - Converts PVK files to PEM files and back again
Summary: app-crypt/pvk - Converts PVK files to PEM files and back again
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Bertrand Jacquin
URL: http://www.drh-consultancy.demon.co.u...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-06 15:03 UTC by Bertrand Jacquin
Modified: 2013-09-03 18:11 UTC (History)
1 user (show)

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


Attachments
app-crypt/pvk-0.12.ebuild (pvk-0.12.ebuild,667 bytes, text/plain)
2011-08-06 15:03 UTC, Bertrand Jacquin
Details
pvk-0.12.ebuild (pvk-0.12.ebuild,701 bytes, text/plain)
2013-06-09 11:32 UTC, Bertrand Jacquin
Details
app-crypt/pvk/pvk-0.12.ebuild (pvk-0.12.ebuild,638 bytes, text/plain)
2013-08-20 23:50 UTC, Bertrand Jacquin
Details
app-crypt/pvk/files/pvk-0.12-Makefile-rework.diff (pvk-0.12-Makefile-rework.diff,1.54 KB, patch)
2013-08-20 23:51 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2011-08-06 15:03:06 UTC
Here is an ebuild for pvk, a tool for converts PVK files to PEM files and back again (a propriatray format for SSL certs/key)

Reproducible: Always
Comment 1 Bertrand Jacquin 2011-08-06 15:03:38 UTC
Created attachment 282327 [details]
app-crypt/pvk-0.12.ebuild
Comment 2 Bertrand Jacquin 2013-06-09 11:32:34 UTC
Created attachment 350508 [details]
pvk-0.12.ebuild

Move to EAPI 5, respect LDFLAGS, avoid link with /usr/local, fix quotes
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-18 08:33:56 UTC
Same problem as with the other bug, how do you know the version and how will you know they do a version bump? Because the version is not in the URL a new version coming out can be problematic. Maybe we need to snapshot or just rehost them? If license permits...
Comment 4 Bertrand Jacquin 2013-08-20 23:47:45 UTC
(In reply to Tom Wijsman (TomWij) from comment #3)
> Same problem as with the other bug, how do you know the version and how will
> you know they do a version bump? Because the version is not in the URL a new
> version coming out can be problematic. Maybe we need to snapshot or just
> rehost them? If license permits...

Dr Stephen N Henson have been contact to solve this.
Comment 5 Bertrand Jacquin 2013-08-20 23:50:32 UTC
Created attachment 356548 [details]
app-crypt/pvk/pvk-0.12.ebuild

Rewrite Makefile, rename SRC_URI to name src_unpack can handle in a generic way, use SLOTed DEPEND
Comment 6 Bertrand Jacquin 2013-08-20 23:51:10 UTC
Created attachment 356550 [details, diff]
app-crypt/pvk/files/pvk-0.12-Makefile-rework.diff

Here is a patch for the Makefile, it's more a rewrite that a patch. The main idea is to rely on pkg-config to get cflags and libs to link with.

Also mkerr.pk seems to not be exist in openssl installation so I drop the errors rule.
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-01 19:23:26 UTC
(In reply to Bertrand Jacquin from comment #4)
> (In reply to Tom Wijsman (TomWij) from comment #3)
> > Same problem as with the other bug, how do you know the version and how will
> > you know they do a version bump? Because the version is not in the URL a new
> > version coming out can be problematic. Maybe we need to snapshot or just
> > rehost them? If license permits...
> 
> Dr Stephen N Henson have been contact to solve this.

Did you receive a response already? Otherwise we might just snapshot for now...

Looked into the tarball, the license indeed permits redistributing.
Comment 8 Bertrand Jacquin 2013-09-03 18:11:52 UTC
Here is Dr Stephen N Henson response :

> The webpages there are a bit out of date. There isn't really much need to use
> the old pvk utility any more. Newer versions of OpenSSL have better PVK support
> as standard. For example:
> 
> openssl rsa -inform PVK -in key.pvk