From b618510054429744bff11bb7c02bbc430cf949ce Mon Sep 17 00:00:00 2001 From: vnugent Date: Tue, 24 Oct 2023 13:44:03 -0400 Subject: package updates & arm build support --- Taskfile.yaml | 20 ++++++++++++++++++++ src/PkiAuthenticator.csproj | 6 +++--- src/Program.cs | 5 +++++ 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 8b6b737..c184bf8 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -30,6 +30,16 @@ tasks: vars: BUILD_MODE: debug TARGET_OS: osx-x64 + + - task: postbuild + vars: + BUILD_MODE: debug + TARGET_OS: linux-arm + + - task: postbuild + vars: + BUILD_MODE: debug + TARGET_OS: linux-arm64 #remove uncessary files from the release dir @@ -50,6 +60,16 @@ tasks: vars: BUILD_MODE: release TARGET_OS: osx-x64 + + - task: postbuild + vars: + BUILD_MODE: release + TARGET_OS: linux-arm + + - task: postbuild + vars: + BUILD_MODE: release + TARGET_OS: linux-arm64 #pack up source code and put in output - powershell -Command "Get-ChildItem -Include *.cs,*.csproj -Recurse | Where { \$_.FullName -notlike '*\obj\*' } | Resolve-Path -Relative | tar --files-from - -czf '{{.TARGET}}/src.tgz'" diff --git a/src/PkiAuthenticator.csproj b/src/PkiAuthenticator.csproj index 290772c..01d1024 100644 --- a/src/PkiAuthenticator.csproj +++ b/src/PkiAuthenticator.csproj @@ -38,9 +38,9 @@ - - - + + + diff --git a/src/Program.cs b/src/Program.cs index 8895f8e..09bb867 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -21,6 +21,7 @@ using System; using VNLib.Utils.Logging; +using VNLib.Utils.Memory; using static PkiAuthenticator.Statics; @@ -115,6 +116,10 @@ namespace PkiAuthenticator {SOFTWARE_PASSWORD_VAR_NAME} The password used to decrypt the PEM encoded private key file in software mode {YUBIKEY_PIN_ENV_VAR_NAME} Your secret pin used for protected yubikey operations + + {MemoryUtil.SHARED_HEAP_GLOBAL_ZERO} Force all unmanaged heap allocations to be zero filled + + {MemoryUtil.SHARED_HEAP_FILE_PATH} Specify a custom unmanaged heap allocator DLL file path This tool was created to quickly generate short lived One-Time-Passwords (OTP) or signed -- cgit