Skip to content

Commit d2a861f

Browse files
authored
sysd: windows fixes (#406)
* fix msi paths in registry * fix pam not running on windows * fix event logs * bump
1 parent f386be9 commit d2a861f

18 files changed

Lines changed: 53 additions & 26 deletions

File tree

browser-ext/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/chrome-manifest",
33
"manifest_version": 3,
44
"name": "authentik Platform SSO Extension",
5-
"version": "0.19.0",
5+
"version": "0.20.0",
66
"description": "authentik Browser extension for seamless SSO and to launch applications.",
77
"permissions": ["storage", "activeTab", "nativeMessaging"],
88
"background": {

browser-ext/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

browser-ext/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "authentik-browser-ext",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"description": "Authentik Application Launcher Chrome Extension",
55
"scripts": {
66
"build": "rollup -c",

browser-ext/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = "0.19.0";
1+
export const VERSION = "0.20.0";

cmd/agent_local/package/macos/authentik Agent.app/Contents/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleIdentifier</key>
1212
<string>io.goauthentik.platform.agent</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>0.19.0</string>
14+
<string>0.20.0</string>
1515
<key>CFBundleVersion</key>
16-
<string>0.19.0</string>
16+
<string>0.20.0</string>
1717
<key>LSMinimumSystemVersion</key>
1818
<string>15.0</string>
1919
<key>LSUIElement</key>

cmd/agent_local/package/windows/Package.wxs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
<File Id="ak_sysd_config"
4646
Source="$(env.ROOT)/cmd/agent_system/package/windows/config.json" />
4747

48-
<util:EventSource Log="Application"
48+
<RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\authentik" />
49+
<util:EventSource Log="authentik"
4950
Name="authentik System Service"
5051
EventMessageFile="[System64Folder]EventCreate.exe"/>
5152

@@ -80,18 +81,21 @@
8081
Source="$(env.PWD)/package/windows/browser-host.json" />
8182
<RegistryKey Root="HKLM"
8283
Key="SOFTWARE\Google\Chrome\NativeMessagingHosts\io.goauthentik.platform">
83-
<RegistryValue Type="string" Value="[INSTALLFOLDER]browser-host.json"/>
84+
<RegistryValue Type="string" Value="[browser_support]browser-host.json"/>
8485
</RegistryKey>
8586
<RegistryKey Root="HKLM"
8687
Key="SOFTWARE\Microsoft\Edge\NativeMessagingHosts\io.goauthentik.platform">
87-
<RegistryValue Type="string" Value="[INSTALLFOLDER]browser-host.json"/>
88+
<RegistryValue Type="string" Value="[browser_support]browser-host.json"/>
8889
</RegistryKey>
8990
<RegistryKey Root="HKLM"
9091
Key="Software\Mozilla\NativeMessagingHosts\io.goauthentik.platform">
91-
<RegistryValue Type="string" Value="[INSTALLFOLDER]browser-host.json"/>
92+
<RegistryValue Type="string" Value="[browser_support]browser-host.json"/>
9293
</RegistryKey>
9394
</Component>
9495
<Component Id="credential_provider" Guid="4e4c21de-2c3e-4dc0-9a10-42fcd0fd68e1" Bitness="always64" Directory="wcp">
96+
<util:EventSource Log="authentik"
97+
Name="authentik Credential Provider"
98+
EventMessageFile="C:\Windows\System32\mscoree.dll"/>
9599
<File Id="wcp_cefexe_exe" Source="$(env.ROOT)/bin/wcp/cefexe.exe" />
96100
<File Id="wcp_chrome_100_percent_pak" Source="$(env.ROOT)/bin/wcp/chrome_100_percent.pak" />
97101
<File Id="wcp_chrome_200_percent_pak" Source="$(env.ROOT)/bin/wcp/chrome_200_percent.pak" />
@@ -120,7 +124,7 @@
120124
<RegistryKey Root="HKCR"
121125
Key="CLSID\{7BCC7941-18BA-4A8E-8E0A-1D0F8E73577A}">
122126
<RegistryValue Type="string" Value="authentik Credential Provider" />
123-
<RegistryValue Key="InprocServer32" Type="string" Value="[INSTALLFOLDER]ak_cred_provider.dll" />
127+
<RegistryValue Key="InprocServer32" Type="string" Value="[wcp]ak_cred_provider.dll" />
124128
<RegistryValue Key="InprocServer32" Type="string" Name="ThreadingModel" Value="Apartment" />
125129
</RegistryKey>
126130
</Component>

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SHELL = /bin/bash
33
PWD = $(shell pwd)
44
UID = $(shell id -u)
55
GID = $(shell id -g)
6-
VERSION = "0.19.0"
6+
VERSION = "0.20.0"
77
VERSION_HASH = $(shell git rev-parse HEAD)
88
ifeq ($(OS),Windows_NT)
99
ARCH := $(PROCESSOR_ARCHITEW6432)

ee/psso/PSSO/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.19.0</string>
20+
<string>0.20.0</string>
2121
<key>CFBundleURLTypes</key>
2222
<array>
2323
<dict>
@@ -28,7 +28,7 @@
2828
</dict>
2929
</array>
3030
<key>CFBundleVersion</key>
31-
<string>0.19.0</string>
31+
<string>0.20.0</string>
3232
<key>LSMinimumSystemVersion</key>
3333
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
3434
<key>NSExtension</key>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22

3-
#define AK_WCP_VERSION "0.19.0"
3+
#define AK_WCP_VERSION "0.20.0"

nss/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)