Esa Laitila
Esa Laitila
Here is __otool__ output : ```` ► iMac@electron4$ otool -L ./lib/libykcs11.dylib ./lib/libykcs11.dylib: @loader_path/libykcs11.1.dylib (compatibility version 5.0.0, current version 5.6.0) @loader_path/libykpiv.1.dylib (compatibility version 5.0.0, current version 5.6.0) @loader_path/libcrypto.1.0.0.dylib (compatibility version 1.0.0,...
Must be something to do cause i use __require submodule__ (and require graphene etc is there) and it will return callback to main.js . You have graphene straight in your...
@microshine Some progress; now it is working well when I use absolute path from __/usr/local/lib/libykcs11.dylib"__. And when using my local version from subdir __./lib__ it throws errors ! Code that...
Do you mean __./node_modules/pkcs11js__ or something else. No I have not. Here is node_modules, do you mean that and what subdir should I try. ```` ► iMac@electron4$ pwd /Users/esa/devel/yubikey/electron4 ►...
Should I have __libcrypto.1.0.0.dylib__ somewhere? I don't know what lib it is: ```` App threw an error during load Error: dlopen(/Users/esa/devel/yubikey/electron4/lib/libykcs11.dylib, 1): Library not loaded: @loader_path/libcrypto.1.0.0.dylib Referenced from: /Users/esa/devel/yubikey/electron4/lib/libykcs11.dylib ````
Seems to be some __openssl__ lib. Now I copied __libcrypto.1.0.0.dylib__ to my local electron-lib (./lib in my project root). And __it works now__ without linking to /usr/local/lib. Closer... closer ......
@microshine I an playing now with Win10, and can't get __graphene__ installed. ```` PS C:\Users\esa\devel\electron\test4> yarn add graphene-pk11 yarn add v1.3.2 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching...
OK, tried but throws errors while `npm install` ```` PS C:\Users\esa\devel\electron> git clone https://github.com/PeculiarVentures/pkcs11js.git Cloning into 'pkcs11js'... remote: Counting objects: 782, done. remote: Compressing objects: 100% (14/14), done. remote: Total...
Maybe nothing differs, but I'm running my __Win10 under Parallels VM__ in my iMac.
Working on it... first it throws "must run with administrative PowerShell", and now finally found "Administrative" version, it's trying just now.... lets see. ---- Seems to take a long time...