-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround for lack of NPAPI support in Google Chrome #102
Comments
Hi! |
Oh, I found https://webpg.org/download/webpg-native-host/archive/ installers, but not source code... I do not like to download binaries... Is code avalable? |
I found an answer. It took me a while (I was ready to write native host of my own) |
I think not. Installers can determine installed version and deal with accordingly. Users can inspect binary attributes/properties to determine version numbers (which will probably be more precise anyway). Besides, cannot think of a good use case for exposing the version number in path or filename, and doing so increases risk of mistakes being made when installing, updating or removing files. |
In order to continue to supporting Google Chrome after their discontinuation of NPAPI, WebPG will need to use "Native Messaging".
Native Messaging is a mechanism whereby request/response messsages are sent/collected using chrome.runtime.sendNativeMessage or via a native messaging port.
The underlying WebPG binary component has been designed to support Native Messaging, however, it requires that a manifest file (and registry key in Windows) be installed on the host system along with a binary. An installer will be necessary in order to accomplish this.
The contents of said file are as follows -
File Location (Proposed):
~/.config/google-chrome/NativeMessagingHosts/org.webpg.nativeHost.json
~/Library/Application Support/Google/Chrome/NativeMessagingHosts/org.webpg.nativeHost.json
C:\Users\{USER}\AppData\WebPG\nativeHost.json
Additional install items
HKEY_CURRENT_USER\SOFTWARE\Google\Chrome\NativeMessagingHosts\org.webpg.nativeHost
C:\Users\{USER}\AppData\WebPG\nativeHost.json
Points of discussion -
Objectives -
Ancillary items -
PGPMime methods need to be moved from webpg-npapi to libwebpg(completed with kylehuff/libwebpg@e31f59c)References -
Persons tagged in this issue -
The text was updated successfully, but these errors were encountered: