{"action":"opened","issue":{"url":"https://api.github.com/repos/qzind/qz-print/issues/150","labels_url":"https://api.github.com/repos/qzind/qz-print/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/qzind/qz-print/issues/150/comments","events_url":"https://api.github.com/repos/qzind/qz-print/issues/150/events","html_url":"https://github.com/qzind/qz-print/issues/150","id":129642209,"number":150,"title":"2.0.0-alpha5 Signing Breaking","user":{"login":"klabarge","id":12505463,"avatar_url":"https://avatars.githubusercontent.com/u/12505463?v=3","gravatar_id":"","url":"https://api.github.com/users/klabarge","html_url":"https://github.com/klabarge","followers_url":"https://api.github.com/users/klabarge/followers","following_url":"https://api.github.com/users/klabarge/following{/other_user}","gists_url":"https://api.github.com/users/klabarge/gists{/gist_id}","starred_url":"https://api.github.com/users/klabarge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klabarge/subscriptions","organizations_url":"https://api.github.com/users/klabarge/orgs","repos_url":"https://api.github.com/users/klabarge/repos","events_url":"https://api.github.com/users/klabarge/events{/privacy}","received_events_url":"https://api.github.com/users/klabarge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-29T02:08:51Z","updated_at":"2016-01-29T02:08:51Z","closed_at":null,"body":"QZ Tray Version: 2.0.0-alpha5\r\n\r\nI'm currently using a POST method which worked in the alpha4 version.\r\n```js\r\nqz.security.setSignaturePromise(function(toSign) {\r\n\t        return function(resolve, reject) {\r\n            $.post(\"assets/signing/sign-message.php\", {request: toSign}).then(resolve, reject);\r\n        };\r\n    });\r\n```\r\n\r\nAfter installing the alpha5 version and adding in the new dependency: `sha-256.min.js` signing breaks on some, but not all of the functions reproducible in the `sample.html`\r\n\r\nEven when signing breaks, the warning dialogue matches the name on my certificate.  I'm not sure the value of this, but without setting signing up, the warning dialogue says \"localhost...\"\r\n\r\n![image](https://cloud.githubusercontent.com/assets/12505463/12664626/295c19be-c5ff-11e5-8beb-49d32174e2ab.png)\r\n\r\nHere are my results.  Note that I did not test all Seral / USB buttons\r\n### Signing Works\r\n1. Raw Printing Tab \r\n * List Network Info\r\n * Find Printer\r\n * Find Default Printer\r\n * Find All Printers\r\n * Base64\r\n * XML\r\n * Hex\r\n * zpl_sample.txt\r\n * fgl_sample.txt\r\n * epl_sample.txt\r\n1. Pixel Printing\r\n * Print PDF\r\n * Image\r\n1. Serial\r\n * List Ports\r\n1. USB\r\n * List Devices\r\n * List Device Interfaces\r\n * List Interface Endpoints\r\n\r\n### Signing Breaks\r\n1. Raw Printing\r\n * EPL\r\n * ZPL\r\n * ESCP\r\n * ESCP (Zebra Card Printer)\r\n1. Pixel Printing\r\n * Print HTML\r\n\r\n\r\nThings to try...\r\n * Using GET\r\n * [Overiding SHA256](https://github.com/qzind/qz-print/wiki/2.0-Override-RSVP#override-sha256)"}}