Repository navigation
New features
Authentication and security
- Quantum-resistant cryptography (QRC). API requests are now encrypted with a hybrid ML-KEM-1024 + EC scheme (QrcCrypto). If the server rejects QRC, or QRC encryption fails, the SDK switches to EC encryption automatically. KeeperEndpoint.LastEncryptionMode tells you which mode was used last.
- YubiKey and FIDO2 security-key 2FA. If your app doesn't supply its own IAuthSecurityKeyUI, the new default YubiKeySecurityKeyUI handles security keys. On Windows it uses the native WebAuthn prompt (WindowsWebAuthnSecurityKeyUI). On macOS and Linux it uses the Yubico library and asks for the PIN or touch in the terminal. You can plug in your own handler through AuthCommon.SecurityKeyUI.
- AuthExtensions.SetSecurityKeysNoUserVerify() and AccountSummary...SecurityKeysNoUserVerify control whether security keys require user verification.
- Master password strength is now scored with zxcvbn (ManageAccount.MasterPasswordStrength.GetScore / GetCategory). Two new interfaces support it: IMasterPasswordStrengthUI and IMasterPasswordReentryUI.
- Post-login tasks. You can set AuthCommon.PostLoginTaskUI (IPostLoginTaskUI). An expired-account notice now goes through this UI, and declining it cancels login with KeeperCanceled.
Self-hosted Keeper (Keeper-In-A-Box)
- Each server configuration can now carry its own EC public keys (IServerConfiguration.PublicKeys, ServerPublicKeyConfiguration). These are saved in the JSON configuration under serverPublicKeys.
- When the server returns a "key" error, the SDK fetches its public key from /api/rest/server_public_key (KeeperEndpoint.DiscoverServerPublicKey()).
- IgnoreCertificateErrors can be set per server. It applies to REST calls, the proxy ping and push-notification websockets, including on .NET Framework. KeeperPushNotifications gained an ignoreCertificateErrors constructor parameter.
Device management
- The new DeviceManagementExtensions class lists, renames and runs actions on your own devices (GetUserDevices, ExecuteDeviceAction, RenameUserDevice).
- It also has the admin equivalents for enterprise users (GetAdminUserDevices, ExecuteAdminDeviceAction) and helpers to resolve devices by identifier (ResolveDevicesByIdentifiers, DeviceResolveResult).
Keeper NSF (Keeper Drive)
- Trash support. New VaultOnline methods: GetKeeperNSFTrash, GetKeeperNSFTrashItem and RestoreKeeperNSFTrash. Deleted items are synced into a local trash cache (KeeperNSFTrashcanSync).
- Convert classic records to NSF records with VaultOnline.ConvertClassicRecordsToKeeperNSF, which returns a KeeperNSFRecordConversionResult for each record.
- Strict name resolution. New ResolveKeeperNSFRecordStrict, ResolveKeeperNSFFolderStrict, ResolveKeeperNSFFolderOrRootStrict and TryResolveKeeperNSFFolderReference. When a name matches more than one item they throw one of the new AmbiguousIdentifierException subclasses: AmbiguousFolderException, AmbiguousSharedFolderException or AmbiguousNsfRecordException.
- NSF folder access entries now expose IsCustom and DeniedAccess.
- PAM Workflow commands now work with NSF records (PamVaultHelpers.TryGetRecordKey).
Enterprise
- Reporting plugin (KeeperSecurity.Enterprise.ReportingPlugin). ReportingPlugin.GenerateAuditReportAsync builds audit reports, optionally with compliance context and record aging data. GenerateComplianceReportAsync builds compliance reports. Results can be cached with InMemoryReportingStorage or SqliteReportingStorage.
- MSP. New ConvertNodeToManagedCompany and GetMspLegacyReport (license adjustment log).
- Managed nodes. IRoleData has two new methods: GetManagedNodes() and GetPrivilegesForRoleAndNode().
- Audit log filters can now filter by GeoLocation, DeviceType and Timezone.
Vault
- One-time share for shared records. CreateExternalRecordShareWithStatusAsync returns an ExternalRecordShareCreationResult with ShareUrl, IsEditable and CanEdit.
- RecordSecurity helpers for finding sensitive or password fields and masking their values (IsSensitive, IsPassword, Mask, HasPassword).
- VaultOnline.AuditLogRecordRevealPassword() records an audit event when a password is revealed. FlushAuditEvents() now has an overload that takes a CancellationToken.
Fixes and improvements
- Share ownership. Record and folder share operations now check ownership before running (ShareOwnerValidation).
- NSF fixes:
- Access overrides, permission output and folder inheritance are handled correctly.
- Removing a team from an NSF shared subfolder works again.
- Empty folder names and empty record titles are rejected.
- Error messages distinguish "user not found" from "user has no public key".
- Shared folders. Expiration handling for shared-folder records is fixed, and the JSON output for shared folders and folders is richer.
- Enterprise:
- Creating a node with a name that already exists under the same parent now throws a clear EnterpriseException. The SDK also checks again after the server returns an error.
- Adding a user whose email already exists is rejected.
- Role names are trimmed, can't be empty and can be at most 255 characters.
- EPM. Policy handling and validation are improved.
- PAM Workflow. A workflow can no longer be deleted after workflow-set removed the permission to manage it (WorkflowUtils.CanManageWorkflowSettingsFreshAsync).
- Folder vs. record names. Lookups no longer confuse a folder and a record that share a name.
- Protobuf definitions have been regenerated, adding the trash, conversion, PAM, enterprise, router and EPM (PEDM) messages.
Breaking and behavior changes
- ServerConfiguration.ServerKeyId now defaults to 7 instead of 1.
- KeeperEndpoint now implements IDisposable. Dispose it to release the HTTP client and QRC key material.
- The parameterless FlushAuditEvents() is now a wrapper over the new CancellationToken overload. Assemblies compiled against 1.1.14 need to be recompiled.
- The new strict resolvers throw Ambiguous*Exception where a lookup used to quietly pick one of several matches.
Dependencies
- Added net10.0 as a build target when the .NET 10 SDK is installed. netstandard2.0 and net8.0 are still built as before.
- Google.Protobuf updated from 3.28.3 to 3.36.2.
- Portable.BouncyCastle 1.9.0, which was used only for netstandard2.0, is replaced by BouncyCastle.Cryptography 2.7.0 for all targets.
- New dependencies: zxcvbn-core 7.0.92 and Yubico.YubiKey 1.18.1.