Overview
Comment: | Updated to use NaCl libpcsc (in progress) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c3e0c9025e3d68182983b150b56d0c1d |
User & Date: | rkeene on 2016-04-14 17:07:11 |
Other Links: | manifest | tags |
Context
2016-04-14
| ||
18:16 | Upgraded to latest nacl-libpcsc and started using the sightly cleaner interfaces check-in: 357cf7b22f user: rkeene tags: trunk | |
17:07 | Updated to use NaCl libpcsc (in progress) check-in: c3e0c9025e user: rkeene tags: trunk | |
2016-03-15
| ||
17:57 | Updated to parse X.509v1 implied version certificates check-in: 899318c012 user: rkeene tags: trunk | |
Changes
Modified build/chrome/Makefile from [7468d6c1f8] to [44984e905a].
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + | CC = pnacl-clang CXX = pnacl-clang++ AR = pnacl-ar RANLIB = pnacl-ranlib FINALIZE = pnacl-finalize CACKEY_LIBS = -Llib -lcackey -lz PCSC_LIBS = -Llib -lpcsc -L${NACL_SDK_ROOT}/lib/pnacl/Release -lppapi -lppapi_cpp LIBS = $(CACKEY_LIBS) $(PCSC_LIBS) |
︙ | |||
68 69 70 71 72 73 74 | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - + - - - - - - - - + + + + + + - + - + | mkdir -p lib rm -f lib/libz.a cd lib && ln -s ../workdir-*.inst/lib/libz.a . touch lib/libz.a google-pcsc.js: lib/libcackey.a rm -f google-pcsc.js google-pcsc.js.new |
Modified build/chrome/build-deps from [dd6eb9c6ce] to [faff128b75].
︙ | |||
71 72 73 74 75 76 77 | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | - + | rm -f "${file}.new" wget --header "X-Cache-URL: ${url}" -O "${file}.new" "http://hashcache.rkeene.org/${hashMethod}/${hash}" || \ wget -O "${file}.new" "${url}" || \ return 1 chkHash="$(openssl "${hashMethod}" "${file}.new" | sed 's@.*= *@@')" |
︙ | |||
166 167 168 169 170 171 172 | 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | - - + + - - - - + + + + - + - - + - - + - - + - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ) || return 1 rm -rf "${workdir}" return 0 } |
︙ |
Modified build/chrome/cackey-chrome-plugin.cc from [cf6e270a5f] to [06cf85fd98].
︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | - + | #include <ppapi/cpp/var_dictionary.h> #include <ppapi/cpp/var_array.h> #include <ppapi/cpp/var_array_buffer.h> #include <string.h> #include <stdlib.h> |
︙ |
Modified build/chrome/cackey.js from [cc6681845c] to [94fd0f8405].
︙ | |||
186 187 188 189 190 191 192 193 194 195 196 197 198 199 | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | + + + | * * If an error occured, invoke the callback with no arguments. */ function cackeyMessageIncoming(messageEvent) { var nextFunction = null; var chromeCallback = null; console.log("START MESSAGE"); console.log(messageEvent.data); console.log("END MESSAGE"); if (messageEvent.data.target != "cackey") { return; } if (GoogleSmartCard.IS_DEBUG_BUILD) { console.log("START MESSAGE"); console.log(messageEvent.data); |
︙ | |||
719 720 721 722 723 724 725 | 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 | + - + | "smartcardManagerAppId": "khpfeaanjngmcnplbdlpegiifgpfgdco" } ); /* * Initialize the PCSC NaCl interface */ new GoogleSmartCard.NaclModule(cackeyHandle); |
︙ | |||
812 813 814 815 816 817 818 | 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 | - + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + | chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('ui.html', { "id": "cackeyUI", "focused": true, "innerBounds": { "width": 350, "minWidth": 350, |