summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-05-24 12:06:37 +0200
committerWerner Koch <wk@gnupg.org>2023-05-24 12:06:37 +0200
commit3fbe10172f0a0d9fddad19c1e04a4f7870c88fbe (patch)
treeef40dc22ca08e3d38cf65d91716ffb99dd7d9756 /kbx
parentcommon,w32: Set a proper error code when creating an output file. (diff)
downloadgnupg2-3fbe10172f0a0d9fddad19c1e04a4f7870c88fbe.tar.xz
gnupg2-3fbe10172f0a0d9fddad19c1e04a4f7870c88fbe.zip
w32: Add missing manifests and set a requestedExecutionLevel.
* agent/gpg-agent.w32-manifest.in: New. * dirmngr/dirmngr-client-w32info.rc: New. * dirmngr/dirmngr-client.w32-manifest.in: New. * dirmngr/dirmngr-w32info.rc: New. * dirmngr/dirmngr.w32-manifest.in: New. * dirmngr/dirmngr_ldap-w32info.rc: New. * dirmngr/dirmngr_ldap.w32-manifest.in: New. * g10/gpgv-w32info.rc: New. * g10/gpgv.w32-manifest.in: New. * kbx/keyboxd.w32-manifest.in: New. * scd/scdaemon.w32-manifest.in: New. * sm/gpgsm.w32-manifest.in: New. -- This avoids the use of the VirtualStore uner Windows. GnuPG-bug-id: 6503
Diffstat (limited to 'kbx')
-rw-r--r--kbx/Makefile.am5
-rw-r--r--kbx/keyboxd-w32info.rc2
-rw-r--r--kbx/keyboxd.w32-manifest.in24
3 files changed, 30 insertions, 1 deletions
diff --git a/kbx/Makefile.am b/kbx/Makefile.am
index 66214fa5c..19bdb1061 100644
--- a/kbx/Makefile.am
+++ b/kbx/Makefile.am
@@ -18,13 +18,16 @@
## Process this file with automake to produce Makefile.in
-EXTRA_DIST = mkerrors keyboxd-w32info.rc
+EXTRA_DIST = mkerrors keyboxd-w32info.rc keyboxd.w32-manifest.in
AM_CPPFLAGS =
include $(top_srcdir)/am/cmacros.am
+
if HAVE_W32_SYSTEM
resource_objs += keyboxd-w32info.o
+
+keyboxd-w32info.o : keyboxd.w32-manifest ../common/w32info-rc.h
endif
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS)
diff --git a/kbx/keyboxd-w32info.rc b/kbx/keyboxd-w32info.rc
index 421747499..c38d9f366 100644
--- a/kbx/keyboxd-w32info.rc
+++ b/kbx/keyboxd-w32info.rc
@@ -48,3 +48,5 @@
VALUE "Translation", 0x409, 0x4b0
END
END
+
+1 RT_MANIFEST "keyboxd.w32-manifest"
diff --git a/kbx/keyboxd.w32-manifest.in b/kbx/keyboxd.w32-manifest.in
new file mode 100644
index 000000000..f2e50fb4b
--- /dev/null
+++ b/kbx/keyboxd.w32-manifest.in
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+<description>GNU Privacy Guard (Public Key Daemon)</description>
+<assemblyIdentity
+ type="win32"
+ name="GnuPG.keyboxd"
+ version="@BUILD_VERSION@"
+ />
+<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
+ <application>
+ <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/><!-- Vista -->
+ <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/><!-- 7 -->
+ <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/><!-- 8 -->
+ <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/><!-- 8.1 -->
+ </application>
+</compatibility>
+<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges>
+ <requestedExecutionLevel level="asInvoker"/>
+ </requestedPrivileges>
+ </security>
+</trustInfo>
+</assembly>