Skip to content

Release#1915

Merged
sk-keeper merged 26 commits intomasterfrom
release
Apr 1, 2026
Merged

Release#1915
sk-keeper merged 26 commits intomasterfrom
release

Conversation

@sk-keeper
Copy link
Copy Markdown
Collaborator

No description provided.

ukumar-ks and others added 26 commits March 12, 2026 09:05
* commander KC - (1128, 1115, 1114) bug fix chnages

* File flag fix under "epm deployment download" in commander

* confirmation promp added  for kepm agent delete command without --force flag

* Kepm PR review changes
* Fixed double new lines on some terminals (Linux, MacOS)
* Improved handling of non-terminal protocols
* Update to keeper_pam_webrtc_rs>=2.1.5
Corrects logic in needs_security_audit: remove the erroneous "or None" that forced password mismatch to always be true, and determine alignment by comparing stored score and breach-watch revisions only when a current password exists. Adds retrieval of score_revision and sec_revision and updates needs_alignment accordingly. Includes new unit and integration tests (unit-tests/test_security_audit.py and tests/test_security_audit_refresh.py) to validate revision-based alignment, password removal, and other audit-refresh scenarios.
* Added "Connect As" options allowing for aditional records to provide credentials and host:port

* Added keeper webrtc version to SDP attribute a=keeper-webrtc:X.Y.Z
The execute_rest() function previously retried throttled (403) responses
every 10 seconds with no maximum retry count. This caused Commander to
hang indefinitely when throttled, and the 10-second retry interval
prevented the server's cooldown timer from expiring.

Changes:
- Add max retry count (3 attempts) before raising KeeperApiError
- Parse the server's "try again in X minutes/seconds" message
- Use exponential backoff (30s, 60s, 120s) capped at server's suggestion
- Cap server wait time at 300s to prevent excessive delays
- Log throttle attempts as warnings instead of debug
- After max retries, raise KeeperApiError so callers can handle it

The --fail-on-throttle flag continues to work as before (immediate error).

Unit tests (9 cases):
- Normal request unaffected by throttle logic
- Throttle twice then succeed (backoff 30s, 60s)
- KeeperApiError raised after 3 retries
- --fail-on-throttle skips retries entirely
- Parses "try again in X seconds" correctly
- Parses "try again in X minutes" correctly
- Caps server wait at 300s
- Exponential backoff progression (30s, 60s, 120s)
- Missing message defaults to 60s
- Make record argument optional; session-only probes run without it
  - Add Python-side network probes: DNS, HTTPS, WebSocket, TCP/UDP STUN,
    TURN Allocate, UDP port sweep across ephemeral range
  - Add PAM Configuration section (record required): DAG load, config
    linkage, gateway registered/online, connections/portForwards
  - Add --verbose flag for DAG allowedSettings table and record typed fields
* Service mode json bugfix changes

* Added node prefix and unique group information with scim create command

* scim edit changes

* Remove unnessary comments

* Addressed PR review commands
* Added key-event input to pam launch (for session recording)

* Fixed broken tests (after disabling legacy records)
Change List:
   - Add AD user creation via Gateway (rm-create-user, rm-add-user-to-group actions)
   - Add Gateway action DTOs (GatewayActionRmCreateUser, RmAddUserToGroup, RmDeleteUser)
   - Add username template engine ({first_initial}{last_name}.adm pattern)
   - Add direct vault sharing delivery method (independent from email)
   - Add -c/--pam-config CLI argument for PAM Configuration UID
   - Add resource_uid support for pamDirectory AD operations
   - Add ad_groups support for AD group membership assignment
   - Add transfer_ownership option with rotation incompatibility validation
   - Add encrypted field communication with Gateway (AES-GCM)
   - Flatten rotation config from pam.rotation to top-level rotation section
   - Make delivery and email sections independent (use either, both, or neither)
   - Make email section optional (only required when present)
   - Add unit tests and mocked integration tests (40 tests)
   - Add E2E test infrastructure (Samba AD Docker, test configs)
@sk-keeper sk-keeper merged commit 4f21344 into master Apr 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants