Skip to content

Commit

Permalink
Revert "Remove PKCS11 module from Firefox"
Browse files Browse the repository at this point in the history
This reverts commit 4118e4c.

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma authored and mrts committed Jun 10, 2022
1 parent 0208f93 commit 437adea
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 41 deletions.
7 changes: 0 additions & 7 deletions install/idemiaawppkcs11-mac.json

This file was deleted.

7 changes: 0 additions & 7 deletions install/idemiaawppkcs11-win.json

This file was deleted.

7 changes: 0 additions & 7 deletions install/onepinopenscpkcs11-mac.json

This file was deleted.

7 changes: 0 additions & 7 deletions install/onepinopenscpkcs11-win.json

This file was deleted.

8 changes: 1 addition & 7 deletions install/web-eid.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,11 @@
<RegistryValue Root="HKLM" Type="string" Value="[APPLICATIONFOLDER]eu.webeid.json"
Key="SOFTWARE\Google\Chrome\NativeMessagingHosts\eu.webeid"/>
</Component>
<Component Id="Firefox" Transitive="yes" Guid="f60c4395-0952-4bc4-a09e-661341c19d2c">
<Component Id="Firefox" Transitive="yes">
<Condition><![CDATA[(FIREFOXINSTALL = 1)]]></Condition>
<File Source="$(var.jsonfirefox)"/>
<File Source="$(var.install_path)\onepinopenscpkcs11-win.json" Name="onepinopenscpkcs11.json"/>
<File Source="$(var.install_path)\idemiaawppkcs11-win.json" Name="idemiaawppkcs11.json"/>
<RegistryValue Root="HKLM" Type="string" Value="[APPLICATIONFOLDER]eu.webeid.firefox.json"
Key="SOFTWARE\Mozilla\NativeMessagingHosts\eu.webeid" />
<RegistryValue Root="HKLM" Type="string" Value="[APPLICATIONFOLDER]onepinopenscpkcs11.json"
Key="Software\Mozilla\PKCS11Modules\onepinopenscpkcs11" />
<RegistryValue Root="HKLM" Type="string" Value="[APPLICATIONFOLDER]idemiaawppkcs11.json"
Key="Software\Mozilla\PKCS11Modules\idemiaawppkcs11" />
</Component>
<?ifdef var.qt_path ?>
<Directory Id="platforms" Name="platforms" FileSource="$(var.qt_path)\..\plugins\platforms">
Expand Down
5 changes: 0 additions & 5 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ if(WIN32)
-dqt_suffix="$<$<CONFIG:Debug>:d>"
-djson=${CMAKE_CURRENT_BINARY_DIR}/eu.webeid.json
-djsonfirefox=${CMAKE_CURRENT_BINARY_DIR}/eu.webeid.firefox.json
-dinstall_path=${CMAKE_SOURCE_DIR}/install
-dFIREFOX_URL="${FIREFOX_URL}"
-dFIREFOX_UUID="${FIREFOX_UUID}"
-dapp_path=$<TARGET_FILE:web-eid>
Expand Down Expand Up @@ -93,10 +92,6 @@ elseif(APPLE)
DESTINATION "/Library/Google/Chrome/NativeMessagingHosts")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eu.webeid.firefox.json COMPONENT firefox
DESTINATION "/Library/Application Support/Mozilla/NativeMessagingHosts" RENAME eu.webeid.json)
install(FILES ${CMAKE_SOURCE_DIR}/install/onepinopenscpkcs11-mac.json COMPONENT firefox
DESTINATION "/Library/Application Support/Mozilla/PKCS11Modules" RENAME onepinopenscpkcs11.json)
install(FILES ${CMAKE_SOURCE_DIR}/install/idemiaawppkcs11-mac.json COMPONENT firefox
DESTINATION "/Library/Application Support/Mozilla/PKCS11Modules" RENAME idemiaawppkcs11.json)
install(FILES ${CMAKE_SOURCE_DIR}/install/ncibgoaomkmdpilpocfeponihegamlic.json COMPONENT chrome
DESTINATION "/Library/Application Support/Google/Chrome/External Extensions")
add_custom_target(macdeployqt DEPENDS web-eid
Expand Down
2 changes: 1 addition & 1 deletion src/mac/js
Submodule js updated from 387813 to 46bcac

0 comments on commit 437adea

Please sign in to comment.