Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Cc: garftd@×××××××.net
Subject: Re: [gentoo-user] pkcs#11
Date: Tue, 13 Jun 2017 21:47:24
Message-Id: 22bda719-a2ea-9149-c2b9-60b4d0e36d63@verizon.net
In Reply to: Re: [gentoo-user] pkcs#11 by Alon Bar-Lev
1 On 06/13/17 14:31, Alon Bar-Lev wrote:
2 > On 13 June 2017 at 21:26, james <garftd@×××××××.net> wrote:
3 >
4 > <snip>
5 >
6 >> I guess what I'm really looking for is a master list of ebuilds
7 >> (overlays) that one has or possible could use to implement any form of
8 >> PKCS#11 on a gentoo server, workstation, or embedded system? I've been
9 >> googling on this a bit, but my keyword combos have not been very fruitful.
10 >
11 > Hi,
12 >
13 > You have at least these:
14 >
15 > https://packages.gentoo.org/packages/dev-libs/softhsm
16 > https://packages.gentoo.org/packages/dev-libs/opensc
17 > https://packages.gentoo.org/packages/dev-libs/opencryptoki
18 > https://packages.gentoo.org/packages/app-crypt/coolkey
19 >
20 > Regards,
21 > Alon
22 >
23
24 Yes thanks for the info above; and more using eix <-R|-cC> <dev-libs> |
25 grep <pkcs|HSM> and other such searches.
26
27
28 I should have been more detailed in my first post, apologies. I'm more
29 or less looking for complete projects where someone at least moderately
30 documented the steps, gotchas, nuances, etc etc. In theory, they're not
31 too difficult. On the practical side, there's an ocean of fragmented
32 minutia, depending on what you try, exactly. I guess I was look for a
33 bit of a 'well worn' pathway, that included experimentation with the
34 physical card side of things, gentoo centric. A book/website on
35 practical pkcs#11 linux implementation?
36
37
38 I also have look at some of the semiconductor vendor solutions, but
39 there is little detail other than 'purchase' the interesting parts
40 inside of fpga code or an asic, which does me no good. But implemented
41 on an embedded microP with some flexibility would be good, as long as
42 the processor is one that also runs embedded (gentoo) linux. So any
43 dev-boards (RaspPI-3 or ?) would be keen that have any sort of pkcs
44 demo, I could purchase from a semiconductor vendor? Any ideas along that
45 venue would also work for me.
46
47
48 Perhaps some detail on hardening the platform, tool-chain and
49 musl/ulibc/glibc as that's another fundamental part of the effort, I
50 find scant info on. Codes bases such as this one in python [A] are
51 interesting, but not complete. Basically trying to stand on the
52 shoulders of folks that know what they are doing, and the CI or
53 automated test best for penetration testing what you actually implement
54 going forward, is another integral part of a complete solution.
55
56
57 Theoretical or practical experience or just a good comprehensive
58 document/book to read. Anything complete, not just a piece of code that
59 is a fragment of a complete (FOSS?) pkcs#11 system? Gaining
60 practical/working knowledge of these details seems to be fleeting, at
61 least for me. I had just assumed in was a well-worn pathway, publically
62 discuss in some detail. Perhaps a hacker/penetration forum, where the is
63 expertise is what I seek?
64
65
66 Are other folks interested in rolling their own solution, or am I
67 pursuing an impossible DIYS project?
68
69 James
70
71
72 [A]
73 https://blogs.gnome.org/danni/2017/05/22/announcing-new-high-level-pkcs11-hsm-support-for-python/