{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/notary/issues/1006","repository_url":"https://api.github.com/repos/docker/notary","labels_url":"https://api.github.com/repos/docker/notary/issues/1006/labels{/name}","comments_url":"https://api.github.com/repos/docker/notary/issues/1006/comments","events_url":"https://api.github.com/repos/docker/notary/issues/1006/events","html_url":"https://github.com/docker/notary/issues/1006","id":182929860,"number":1006,"title":"yubikey HSM driver not loading on OSX 10.11.6 (15G1004)","user":{"login":"trinitronx","id":122524,"avatar_url":"https://avatars.githubusercontent.com/u/122524?v=3","gravatar_id":"","url":"https://api.github.com/users/trinitronx","html_url":"https://github.com/trinitronx","followers_url":"https://api.github.com/users/trinitronx/followers","following_url":"https://api.github.com/users/trinitronx/following{/other_user}","gists_url":"https://api.github.com/users/trinitronx/gists{/gist_id}","starred_url":"https://api.github.com/users/trinitronx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trinitronx/subscriptions","organizations_url":"https://api.github.com/users/trinitronx/orgs","repos_url":"https://api.github.com/users/trinitronx/repos","events_url":"https://api.github.com/users/trinitronx/events{/privacy}","received_events_url":"https://api.github.com/users/trinitronx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-13T23:32:15Z","updated_at":"2016-10-13T23:32:15Z","closed_at":null,"body":"Hello,  I'm trying to test out notary with the Yubikey 4 support, and having some troubles getting it to work.\r\n\r\nI'm using `notary version`:\r\n\r\n```\r\nnotary\r\n Version:    0.4.2\r\n Git commit: c8aa8cf\r\n```\r\n\r\nWhen running `notary init`, it logs an error loading `/usr/local/lib/libykcs11.dylib`:\r\n\r\n```\r\nnotary init  example.com/collection -D -s http://notary-server:8080\r\nDEBU[0000] Using the following trust directory: /Users/exampleuser/.notary\r\nDEBU[0000] Trusting 1 certs\r\nERRO[0000] could not reach http://notary-server:8080: Get http://notary-server:8080/v2/: dial tcp 192.168.64.2:8080: getsockopt: connection refused\r\nINFO[0000] continuing in offline mode\r\nDEBU[0000] No yubikey found, using alternative key storage: found library /usr/local/lib/libykcs11.dylib, but initialize error pkcs11: 0x6: CKR_FUNCTION_FAILED\r\nDEBU[0000] No yubikey found, using alternative key storage: found library /usr/local/lib/libykcs11.dylib, but initialize error pkcs11: 0x6: CKR_FUNCTION_FAILED\r\nNo root keys found. Generating a new root key...\r\nDEBU[0000] generated ECDSA key with keyID: ad74b12de90f93ed5acad8daded968e5f4f95509906728cfb24bbc3b8b01c156\r\nDEBU[0000] generated new ecdsa key for role: root and keyID: ad74b12de90f93ed5acad8daded968e5f4f95509906728cfb24bbc3b8b01c156\r\nDEBU[0000] No yubikey found, using alternative key storage: found library /usr/local/lib/libykcs11.dylib, but initialize error pkcs11: 0x6: CKR_FUNCTION_FAILED\r\nYou are about to create a new root signing key passphrase. This passphrase\r\nwill be used to protect the most sensitive key in your signing system. Please\r\nchoose a long, complex passphrase and be careful to keep the password and the\r\nkey file itself secure and backed up. It is highly recommended that you use a\r\npassword manager to generate the passphrase and keep it safe. There will be no\r\nway to recover this key. You can find the key in your config directory.\r\nEnter passphrase for new root key with ID ad74b12:\r\n```"}}
{"actor":{"display_login":"trinitronx"}}