Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] pkcs#11 R0b0t1 <r030t1@×××××.com>