[Cryptech Tech] Generating keys on alpha using pkcs11-tool

Linus Nordberg linus at nordberg.se
Mon Nov 21 14:40:36 UTC 2016


Rob Austein <sra at hactrn.net> wrote
Mon, 21 Nov 2016 08:02:09 -0500:

> From your description, though, it may be something as simple as the
> SQL database not being writable by the user account that's running
> this test, so I'd check for that first.

FWIW, I do get a p11.db written. From what I can see it's empty though:

--8<---------------cut here---------------start------------->8---
sqlite> .dump
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE token_object (
         token_object_id         INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
         hal_pkey_type           INTEGER,
         hal_pkey_ski            BLOB
 );
CREATE TABLE token_attribute (
         type                    INTEGER NOT NULL,
         token_object_id         INTEGER NOT NULL REFERENCES token_object
                                 ON DELETE CASCADE ON UPDATE CASCADE,
         value                   BLOB NOT NULL,
         UNIQUE                  (type, token_object_id),
         CHECK                   (type <> 1 OR value <> X'00')
 );
CREATE INDEX token_attribute__token_object                ON token_attribute(token_object_id);
COMMIT;
sqlite> 
--8<---------------cut here---------------end--------------->8---



More information about the Tech mailing list