Commit Graph

283 Commits (539188be976d249d4c46b7d59596f67fe1d6f476)

Author SHA1 Message Date
David Hall 6fbb14d6fe Updated NuGet package dependencies 2022-12-08 17:38:29 -07:00
Martin Kuschnik 37d2a55ea8
Fixed NullReferenceException caused by unsuccessful CredRead call (#344)
* Added unit test for not existing credential
* fixed NullReferenceException caused by null to CREDENTIAL_MGD conversion
2022-11-14 09:06:07 -07:00
David Hall 075b9046f8 Updated project files 2022-10-25 11:24:54 -06:00
dahall 7c032ba708 Renamed all project report files to 'readme.md' so they show in GitHub 2022-09-01 14:43:04 -06:00
dahall 666392b2e5 Changed OBJECTS_AND_SID.pSid to PSID type and cleaned AccCtrl.cs 2022-07-22 07:41:49 -06:00
dahall a16440036f Removed Pack=4 from TRUSTEE struct per #307. It breaks on 64-bit builds. Default is sufficient for both 32 and 64-bit. 2022-07-22 07:34:26 -06:00
dahall 20bd7a40e1 More XML doc fixes 2022-07-14 21:09:25 -06:00
dahall 775ed816d0 Fixed bad XML docs 2022-07-14 20:52:05 -06:00
dahall cdc3005c36 Fixed bug #304 in ChangeServiceConfig parameter lpDependencies 2022-07-13 16:13:10 -06:00
dahall 99479b1f27 Added overloads for LsaAddAccountRights and LsaRemoveAccountRights and optimized marshaling code 2022-07-05 09:44:38 -06:00
dahall 556798672b Fixed ambiguous references in docs 2022-06-28 16:02:29 -06:00
dahall 298ea34914 Updated package readme files 2022-06-14 16:55:29 -06:00
dahall 1e2faf61a0 Added provider constants to AdvApi32.WinCrypt (PInvoke.Security) and fixed CryptEnumProviders, CryptEnumProviderTypes, and CryptExportKey (#300) 2022-05-29 21:38:12 -06:00
dahall aa69db53fd Updated documentation and added package readme files. 2022-05-09 15:56:58 -06:00
dahall 214fd313ba Updated project files 2022-05-04 17:25:17 -06:00
dahall 4a718b12df Fixed recursive bug in WinNTExtensions.IsValidSecurityDescriptor 2022-03-25 10:09:00 -06:00
dahall caee9eba3a Updated readme 2022-03-14 13:39:05 -06:00
dahall dc6cea6de0 Moved most TargetFrameworks tags out of project files and into Directory.Build.props for easier maint. Also changed net462 build to net45 for greater compatibility. 2022-03-14 09:32:06 -06:00
dahall f7f5bb07ee Fixed SecPkgContext_IssuerListInfoEx size and added extraction property 2022-02-22 19:40:09 -07:00
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall c3078b052b Updated project files with 3.4.0 changes 2022-01-17 17:15:18 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall 1cbfdefb5b Updated project files 2021-12-12 21:19:43 -07:00
dahall 22ec8ba85c Finished fixing AuthzReportSecurityEventFromParams. BREAKING CHANGE: removed SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION as all functionality was possible by marshaling AUTHZ_SOURCE_SCHEMA_REGISTRATION correctly. 2021-11-09 16:13:04 -07:00
dahall 03bd938b7c Work on fixing and enabling Audit log writes using AuthzReportSecurityEvent and AuthzReportSecurityEventFromParams. The prior is now fully working. (#251) 2021-11-09 13:16:27 -07:00
dahall 25d13b5cbc Added SafePSID.Authority and SubAuthorities properties and mirrored extension methods for PSID. 2021-10-07 15:22:32 -06:00
dahall 2157b5feaf Reformatting 2021-10-07 15:19:18 -06:00
dahall cc495e80f5 Added IEquatable support to SID_IDENTIFIER_AUTHORITY and PSID_IDENTIFIER_AUTHORITY 2021-10-07 15:18:30 -06:00
dahall 1632570deb Updated SafePSID.FromToken to use generic GetInfo. 2021-10-07 10:33:44 -06:00
dahall dec201c90a Added extension methods HTOKEN.GetIntegrityLevel, PSECURITY_DESCRIPTOR.GetIntegrityLevel, PACE.GetAceType.
Made PACE.GetSide more robust.
2021-10-07 10:32:41 -06:00
dahall 126dffdfeb Added MANDATORY_LEVEL enum. 2021-10-07 10:29:48 -06:00
dahall 7c1740ddca Code cleanup of SecurityBaseApi.cs and addition of generic GetTokenInformation overload. 2021-10-07 10:29:13 -06:00
dahall 5dd166ae15 Extracted WinNTExtensions into its own file and added PACL.GetAce and PACL.EnumerateAces extension methods. 2021-10-06 17:36:40 -06:00
dahall d0cdc29543 Added SafePSECURITY_DESCRIPTOR.ToString(SECURITY_INFO) overload 2021-10-04 15:52:15 -06:00
dahall c1f2225efb Updated project files for 3.3.10 release 2021-06-02 20:57:31 -06:00
dahall 96e3aef5fc Modified structure fields to make blittable 2021-05-08 17:34:15 -06:00
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall 8aa4e7d96e Updated package descriptions with briefer syntax 2021-03-07 11:24:58 -07:00
dahall 3e00f2743c Updated referenced NuGet package versions 2021-03-07 11:15:52 -07:00
dahall fb5f44738e Updated project files for 3.3.5 2021-03-01 15:07:01 -07:00
dahall a90a8d2687 Added non-opaque SID structure 2021-02-18 14:25:48 -07:00
dahall d119c5adbd Updated project information 2020-12-24 11:00:18 -07:00
dahall 9314a46714 Added LsaQueryCAPs overload taking a pointer for the first param 2020-12-18 17:47:54 -07:00
dahall 1b264636c7 Fixed bug in LookupAccountSid2 where assigned return values incorrectly. 2020-12-14 16:05:26 -07:00
dahall aa6085a4a6 Based on Windows error in LookupAccountSid, I've added LookupAccountSid2 based on LsaLookupSid2. 2020-12-08 10:34:12 -07:00
dahall 4a5b14ded3 Added `LookupAccountSidLocal` per #184 comment. Removed BestFitMapping from methods as it was used incorrectly. Added some parameter attributes. 2020-12-07 18:47:14 -07:00
dahall 4d71e6ce9b Updated project information markdown files with new format 2020-11-20 18:52:43 -07:00
dahall 04d33e7e1a Added support for .NET 5.0 (windows) 2020-11-13 16:55:23 -07:00
dahall ffc54378a7 Removed .NET 5.0 support until VS is updated 2020-10-26 18:36:24 -06:00
dahall 69bd276627 Added support for .NET 5.0 (windows) 2020-10-26 10:36:13 -06:00