{"action":"created","issue":{"url":"https://api.github.com/repos/ANSSI-FR/opkcs11-tool/issues/1","labels_url":"https://api.github.com/repos/ANSSI-FR/opkcs11-tool/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ANSSI-FR/opkcs11-tool/issues/1/comments","events_url":"https://api.github.com/repos/ANSSI-FR/opkcs11-tool/issues/1/events","html_url":"https://github.com/ANSSI-FR/opkcs11-tool/issues/1","id":90613838,"number":1,"title":"encrypt file","user":{"login":"bzh35","id":5977356,"avatar_url":"https://avatars.githubusercontent.com/u/5977356?v=3","gravatar_id":"","url":"https://api.github.com/users/bzh35","html_url":"https://github.com/bzh35","followers_url":"https://api.github.com/users/bzh35/followers","following_url":"https://api.github.com/users/bzh35/following{/other_user}","gists_url":"https://api.github.com/users/bzh35/gists{/gist_id}","starred_url":"https://api.github.com/users/bzh35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzh35/subscriptions","organizations_url":"https://api.github.com/users/bzh35/orgs","repos_url":"https://api.github.com/users/bzh35/repos","events_url":"https://api.github.com/users/bzh35/events{/privacy}","received_events_url":"https://api.github.com/users/bzh35/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-24T08:49:35Z","updated_at":"2015-06-25T10:08:24Z","closed_at":null,"body":"Hi,\r\n\r\ni'm not sure it's possible to use \"-enc\" to encrypt a file (10 Mo for example) with a symmetric key.\r\n\r\ni generate a aes key with \"-keygen -mech aes -keysize 128 -id 1 -label aeskey.\r\n\r\ni looked your source code, and see only asymmetric encryption (to encrypt an aes key for example)\r\n"},"comment":{"url":"https://api.github.com/repos/ANSSI-FR/opkcs11-tool/issues/comments/115197343","html_url":"https://github.com/ANSSI-FR/opkcs11-tool/issues/1#issuecomment-115197343","issue_url":"https://api.github.com/repos/ANSSI-FR/opkcs11-tool/issues/1","id":115197343,"user":{"login":"bzh35","id":5977356,"avatar_url":"https://avatars.githubusercontent.com/u/5977356?v=3","gravatar_id":"","url":"https://api.github.com/users/bzh35","html_url":"https://github.com/bzh35","followers_url":"https://api.github.com/users/bzh35/followers","following_url":"https://api.github.com/users/bzh35/following{/other_user}","gists_url":"https://api.github.com/users/bzh35/gists{/gist_id}","starred_url":"https://api.github.com/users/bzh35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzh35/subscriptions","organizations_url":"https://api.github.com/users/bzh35/orgs","repos_url":"https://api.github.com/users/bzh35/repos","events_url":"https://api.github.com/users/bzh35/events{/privacy}","received_events_url":"https://api.github.com/users/bzh35/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T10:08:24Z","updated_at":"2015-06-25T10:08:24Z","body":"mhh... -c, copy object :)\r\n\r\nSo, is there a possibility to extract my key into a file, as pkcs11-tool can do it?"}}