dlech / KeeAgent

ssh agent plugin for KeePass 2.x
http://lechnology.com/software/keeagent
Other
522 stars 35 forks source link

Info for hacking.md #381

Closed florian-asche closed 1 year ago

florian-asche commented 1 year ago

The missing git submodule update --init could be added.

florian-asche commented 1 year ago

Did try to build it with Dockerfile, but i think i dont have the right knowledge for win builds. Maybe someone can help or has an idea?


Sending build context to Docker daemon  16.33MB
Step 1/11 : FROM mono:6.12.0.182-slim
 ---> 517227dd9b43
Step 2/11 : MAINTAINER Florian Asche <build@florian-asche.de>
 ---> Using cache
 ---> ee5d9dfcea88
Step 3/11 : RUN apt-get update   && apt-get install -y binutils curl mono-devel ca-certificates-mono fsharp mono-vbnc nuget referenceassemblies-pcl   && rm -rf /var/lib/apt/lists/* /tmp/*
 ---> Using cache
 ---> 9163ecb48d97
Step 4/11 : RUN mkdir -p /usr/src/app/source
 ---> Using cache
 ---> 9154f76a5ed1
Step 5/11 : RUN mkdir -p /usr/src/app/build
 ---> Using cache
 ---> 686d978b9731
Step 6/11 : ADD . /usr/src/app/source
 ---> a76fd880c34d
Step 7/11 : WORKDIR /usr/src/app/source
 ---> Running in 3856095c679c
Removing intermediate container 3856095c679c
 ---> 182f855d2366
Step 8/11 : RUN nuget restore -NonInteractive
 ---> Running in 46a4ab95543a
MSBuild auto-detection: using msbuild version '15.0' from '/usr/lib/mono/msbuild/15.0/bin'.
Nothing to do. None of the projects in this solution specify any packages for NuGet to restore.
Removing intermediate container 46a4ab95543a
 ---> 1dad51a00ed0
Step 9/11 : RUN msbuild /property:Configuration=ReleasePlgx /t:build KeeAgent.sln
 ---> Running in 3b16ccb57187
Microsoft (R) Build Engine version 16.10.1 for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 01/14/2023 02:10:44.
Project "/usr/src/app/source/KeeAgent.sln" on node 1 (build target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "ReleasePlgx|Any CPU".
Project "/usr/src/app/source/KeeAgent.sln" (1) is building "/usr/src/app/source/KeeAgent/KeeAgent.csproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/ReleasePlgx/".
  Creating directory "obj/ReleasePlgx/".
Project "/usr/src/app/source/KeeAgent/KeeAgent.csproj" (2) is building "/usr/src/app/source/SshAgentLib/Ui/WinForms/SshAgentLib.Ui.WinForms.csproj" (3:2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Release/".
  Creating directory "obj/Release/".
Project "/usr/src/app/source/SshAgentLib/Ui/WinForms/SshAgentLib.Ui.WinForms.csproj" (3:2) is building "/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj" (4:3) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Release/".
  Creating directory "obj/Release/".
ResolveAssemblyReferences:
  Primary reference "BouncyCastle".
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "BouncyCastle". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
          For SearchPath "{HintPathFromItem}".
          Considered "/usr/lib/cli/bccrypto-csharp/BouncyCastle.dll", but it didn't exist.
          For SearchPath "{TargetFrameworkDirectory}".
          Considered "/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.6.2/BouncyCastle.winmd", but it didn't exist.
          Considered "/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.6.2/BouncyCastle.dll", but it didn't exist.
          Considered "/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.6.2/BouncyCastle.exe", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/BouncyCastle.winmd", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/BouncyCastle.dll", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/BouncyCastle.exe", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/Facades/BouncyCastle.winmd", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/Facades/BouncyCastle.dll", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/Facades/BouncyCastle.exe", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/Facades/BouncyCastle.winmd", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/Facades/BouncyCastle.dll", but it didn't exist.
          Considered "/usr/lib/mono/4.6.2-api/Facades/BouncyCastle.exe", but it didn't exist.
          For SearchPath "{GAC}".
          Considered "BouncyCastle", which was not found in the GAC.
          For SearchPath "{RawFileName}".
          Considered treating "BouncyCastle" as a file name, but it didn't exist.
          For SearchPath "bin/Release/".
          Considered "bin/Release/BouncyCastle.winmd", but it didn't exist.
          Considered "bin/Release/BouncyCastle.dll", but it didn't exist.
          Considered "bin/Release/BouncyCastle.exe", but it didn't exist.
CoreCompile:
  /usr/lib/mono/msbuild/Current/bin/Roslyn/csc.exe /noconfig /nowarn:1701,1702 /fullpaths /nostdlib+ /platform:AnyCPU /errorreport:prompt /warn:4 /define:TRACE;NO_MANAGED_ARGON2;NO_SYSTEM_NET_SOCKETS /highentropyva+ /reference:/usr/lib/mono/4.6.2-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.6.2-api/Mono.Posix.dll /reference:/usr/lib/mono/4.6.2-api/mscorlib.dll /reference:/usr/lib/mono/4.6.2-api/System.Core.dll /reference:/usr/lib/mono/4.6.2-api/System.Data.dll /reference:/usr/lib/mono/4.6.2-api/System.dll /reference:/usr/lib/mono/4.6.2-api/System.Drawing.dll /reference:/usr/lib/mono/4.6.2-api/System.Management.dll /reference:/usr/lib/mono/4.6.2-api/System.Net.dll /reference:/usr/lib/mono/4.6.2-api/System.Numerics.dll /reference:/usr/lib/mono/4.6.2-api/System.Windows.Forms.dll /reference:/usr/lib/mono/4.6.2-api/System.Xml.dll /debug:pdbonly /filealign:512 /optimize+ /out:obj/Release/SshAgentLib.dll /subsystemversion:6.00 /target:library /utf8output /langversion:7.3 /analyzerconfig:/usr/src/app/source/.editorconfig /analyzerconfig:/usr/src/app/source/SshAgentLib/.editorconfig Connection/ConnectionContext.cs Extension/DestinationConstraint.cs Extension/SessionBind.cs AgentClient.cs Agent.cs AgentFailureException.cs AgentLockedException.cs AgentMode.cs AgentNotRunningException.cs BlobBuilder.cs BlobParser.cs Crypto/Argon2.cs Crypto/BCrypt.cs CygwinSocket.cs IAgent.cs ISshKey.cs Keys/KeyFormatIdentifier.cs Keys/OpensshPrivateKey.cs Keys/OpensshPublicKey.cs Keys/PemPrivateKey.cs Keys/PuttyPrivateKey.cs Keys/Rfc4716PublicKey.cs Keys/SshPrivateKey.cs Keys/SshPublicKey.cs KeyWrapper.cs Microsoft/UnixDomainSocketEndPoint.cs Microsoft/UnixDomainSocketEndPoint.Windows.cs "MsysSocket .cs" Keys/OpensshCertificateInfo.cs PageantAgent.cs PageantClient.cs PageantRunningException.cs PassphraseException.cs Properties/AssemblyInfo.cs PublicKeyAlgorithm.cs SshKey.cs SshKeyEvent.cs UnixAgent.cs UnixClient.cs Util.cs WindowsOpenSshClient.cs WindowsOpenSshPipe.cs WinInternals.cs WslSocket.cs "obj/Release/.NETFramework,Version=v4.6.2.AssemblyAttributes.cs"
  Using shared compilation with compiler from directory: /usr/lib/mono/msbuild/Current/bin/Roslyn
/usr/src/app/source/SshAgentLib/SshAgentLib/AgentClient.cs(32,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobBuilder.cs(31,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(13,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(14,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(31,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(32,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(33,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(9,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(10,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(10,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPrivateKey.cs(7,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(10,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(13,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(14,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(15,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(16,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(30,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(31,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(176,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(439,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(438,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(516,55): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(516,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(602,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(623,56): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(623,16): error CS0246: The type or namespace name 'AsymmetricCipherKeyPair' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(71,24): error CS0246: The type or namespace name 'PemObject' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(48,25): error CS0246: The type or namespace name 'AsymmetricCipherKeyPair' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(73,40): error CS0246: The type or namespace name 'IPasswordFinder' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(97,9): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(103,9): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPrivateKey.cs(71,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPrivateKey.cs(25,25): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(245,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(250,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(44,26): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(45,26): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(48,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(49,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(77,13): error CS0246: The type or namespace name 'AsymmetricCipherKeyPair' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(323,23): error CS0246: The type or namespace name 'ISigner' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(190,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(251,58): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(336,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(335,25): error CS0246: The type or namespace name 'ISigner' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(29,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobBuilder.cs(135,35): error CS0246: The type or namespace name 'BigInteger' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
/usr/src/app/source/SshAgentLib/SshAgentLib/BlobBuilder.cs(145,39): error CS0246: The type or namespace name 'BigInteger' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
Done Building Project "/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj" (default targets) -- FAILED.
Done Building Project "/usr/src/app/source/SshAgentLib/Ui/WinForms/SshAgentLib.Ui.WinForms.csproj" (default targets) -- FAILED.
Done Building Project "/usr/src/app/source/KeeAgent/KeeAgent.csproj" (default targets) -- FAILED.
Done Building Project "/usr/src/app/source/KeeAgent.sln" (build target(s)) -- FAILED.

Build FAILED.

"/usr/src/app/source/KeeAgent.sln" (build target) (1) ->
"/usr/src/app/source/KeeAgent/KeeAgent.csproj" (default target) (2) ->
"/usr/src/app/source/SshAgentLib/Ui/WinForms/SshAgentLib.Ui.WinForms.csproj" (default target) (3:2) ->
"/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj" (default target) (4:3) ->
(ResolveAssemblyReferences target) -> 
  /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "BouncyCastle". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]

"/usr/src/app/source/KeeAgent.sln" (build target) (1) ->
"/usr/src/app/source/KeeAgent/KeeAgent.csproj" (default target) (2) ->
"/usr/src/app/source/SshAgentLib/Ui/WinForms/SshAgentLib.Ui.WinForms.csproj" (default target) (3:2) ->
"/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj" (default target) (4:3) ->
(CoreCompile target) -> 
  /usr/src/app/source/SshAgentLib/SshAgentLib/AgentClient.cs(32,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobBuilder.cs(31,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(13,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(14,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(31,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(32,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(33,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(9,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(10,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(10,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPrivateKey.cs(7,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(10,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(11,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(12,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(13,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(14,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(15,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(16,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(30,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(31,7): error CS0246: The type or namespace name 'Org' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(176,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(439,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(438,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(516,55): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(516,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(602,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(623,56): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobParser.cs(623,16): error CS0246: The type or namespace name 'AsymmetricCipherKeyPair' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/OpensshPrivateKey.cs(71,24): error CS0246: The type or namespace name 'PemObject' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(48,25): error CS0246: The type or namespace name 'AsymmetricCipherKeyPair' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/PemPrivateKey.cs(73,40): error CS0246: The type or namespace name 'IPasswordFinder' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(97,9): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(103,9): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPrivateKey.cs(71,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPrivateKey.cs(25,25): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(245,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(250,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(44,26): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(45,26): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(48,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(49,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/SshKey.cs(77,13): error CS0246: The type or namespace name 'AsymmetricCipherKeyPair' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/ISshKey.cs(323,23): error CS0246: The type or namespace name 'ISigner' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(190,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(251,58): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(336,13): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(335,25): error CS0246: The type or namespace name 'ISigner' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/Keys/SshPublicKey.cs(29,16): error CS0246: The type or namespace name 'AsymmetricKeyParameter' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobBuilder.cs(135,35): error CS0246: The type or namespace name 'BigInteger' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]
  /usr/src/app/source/SshAgentLib/SshAgentLib/BlobBuilder.cs(145,39): error CS0246: The type or namespace name 'BigInteger' could not be found (are you missing a using directive or an assembly reference?) [/usr/src/app/source/SshAgentLib/SshAgentLib/SshAgentLib.csproj]

    1 Warning(s)
    56 Error(s)

Time Elapsed 00:00:03.57
The command '/bin/sh -c msbuild /property:Configuration=ReleasePlgx /t:build KeeAgent.sln' returned a non-zero code: 1
grazzolini commented 1 year ago

I'm trying to build this on Arch and I'm getting this exact same error. We initialize the submodules on the prepare() section of the packaging.

However, even when manually trying to build this, by following the steps on HACKING.md, we have the same error. Not sure if we are missing BouncyCastle.

ivan-abdulin commented 1 year ago

I'm trying to build this on Arch and I'm getting this exact same error. We initialize the submodules on the prepare() section of the packaging.

However, even when manually trying to build this, by following the steps on HACKING.md, we have the same error. Not sure if we are missing BouncyCastle.

True, tried to build locally, cause older arch version (0.12.1) only supports openssh 8.8 and lower. So I'm stuck with older openssh.

Unfortunately, I never used nuget and not at all familiar with windows software development, so I'm not able to find the reason of the build errors.

dlech commented 1 year ago

If there isn't already a package for BouncyCastle in Arch, you could make one. Or if you want to get it from Nuget, you will need to patch the .csproj files.