aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-10-24 13:44:03 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-10-24 13:44:03 -0400
commitb618510054429744bff11bb7c02bbc430cf949ce (patch)
tree71b6e6c9332f9070092e5187a93e17066e035160
parent46ee376438f142640ff96b6da0c4eafa8b53a084 (diff)
package updates & arm build support
-rw-r--r--Taskfile.yaml20
-rw-r--r--src/PkiAuthenticator.csproj6
-rw-r--r--src/Program.cs5
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 @@
<ItemGroup>
<PackageReference Include="Serilog" Version="3.0.1" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
- <PackageReference Include="VNLib.Hashing.Portable" Version="0.1.0-ci0081" />
- <PackageReference Include="VNLib.Utils" Version="0.1.0-ci0081" />
- <PackageReference Include="Yubico.YubiKey" Version="1.8.0" />
+ <PackageReference Include="VNLib.Hashing.Portable" Version="0.1.0-ci0088" />
+ <PackageReference Include="VNLib.Utils" Version="0.1.0-ci0088" />
+ <PackageReference Include="Yubico.YubiKey" Version="1.9.0" />
</ItemGroup>
</Project>
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