![]() QStringLiteral("HKEY_LOCAL_MACHINE\\Software\\Mozilla\\NativeMessagingHosts\\_browser") Ĭonst QString TARGET_DIR_VIVALDI = TARGET_DIR_CHROME Ĭonst QString TARGET_DIR_TOR_BROWSER = TARGET_DIR_FIREFOX Ĭonst QString TARGET_DIR_BRAVE = TARGET_DIR_CHROME Ĭonst QString TARGET_DIR_EDGE = QStringLiteral( QStringLiteral("HKEY_CURRENT_USER\\Software\\Mozilla\\NativeMessagingHosts\\_browser") QStringLiteral("HKEY_LOCAL_MACHINE\\Software\\Chromium\\NativeMessagingHosts\\_browser") ![]() QStringLiteral("HKEY_CURRENT_USER\\Software\\Chromium\\NativeMessagingHosts\\_browser") "HKEY_LOCAL_MACHINE\\Software\\Google\\Chrome\\NativeMessagingHosts\\_browser") "HKEY_CURRENT_USER\\Software\\Google\\Chrome\\NativeMessagingHosts\\_browser") a/src/browser/NativeMessageInstaller.cppĬonst QString TARGET_DIR_EDGE = QStringLiteral("/Library/Application Support/Microsoft Edge/NativeMessagingHosts") Ĭonst QString TARGET_DIR_CHROME = QStringLiteral( Here's the diff, if it could be useful, but I won't make a pull request out of this due to its incompleteness: diff -git a/src/browser/NativeMessageInstaller.cpp b/src/browser/NativeMessageInstaller.cpp It looks like a few changes can be made to src/Browser/NativeMessageInstaller.cpp to make the non-portable version create the json files in C:\ProgramData and write the appropriate entries into HKLM instead of HKCU, but I'm not sure what changes would be needed to force KeePassXC to create all of the files at install time rather than when they are enabled in the UI. ![]() html in an elevated CMD or PowerShell session and reviewing the output. I was able to publish the same path to HKLM, which got browser integration working, but this is definitely a hack:Ĭreating a second configuration file at C:\ProgramData\keepassxc\_browser_edge.json for KeepassXC during its installation with a matching registry entry in HKLM seems like a much cleaner solution, perhaps selecting specifically for installations by users with administrative You can verify that this policy is applying on your PC by asking your IT department or (if you have local admin rights) running gpresult /h. User-level native messaging hosts are blocked in the baseline policy, which prevents Edge from searching HKCU for the manifest: Microsoft publishes security baselines for several of their products in the form of group policy objects (which we're applying at my company), and one of the policies therein is causing this problem.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |