Skip to content

v3.3.0

Latest

Choose a tag to compare

@DanConwayDev DanConwayDev released this 05 Dec 15:06

Add experimental grasp:// remotes and live CI watching, support the revised
local signer protocol, and fix remote signing failures during manifest publication.
This release also updates security-sensitive dependencies and the ngit-grasp
integration fixture.

Security

  • Update Rustls to 0.23.47 for upstream TLS 1.3 early-data and QUIC
    handshake checks. ngit continues to use the Ring provider.

  • Update Nostr dependencies for upstream fixes to NIP-46 signer response
    and signature verification, authorization URLs and NIP-05 address
    validation. Refresh the test relay for its NIP-42 authentication fix.

  • Build downloadable Unix archives with OpenSSL 3.5.10 LTS, which includes
    upstream security fixes from the November and December advisories.

  • Update the locked URL parser to 2.5.9 for the upstream stack overflow
    in origin calculation (RUSTSEC-2026-0592).

Added

  • Add experimental grasp:// Git remotes. Git uses only the repository’s
    advertised Grasp HTTP(S) endpoints, with anonymous access or Nostr
    authentication. Proposal branches use Git-backed PRs. Use nostr://
    for patch proposals, ordinary mirrors or Git credentials.
  • Follow a commit or PR through CI with ngit ci watch <target>. After
    ci trigger or ci rerun, ngit prints the watch command for that
    repository and commit. Use ci status for a snapshot or keep using
    ci status --watch to follow updates.

Changed

  • Run integration tests against the ngit-grasp 3.2.0 release-preparation
    commit. Its dependency updates include the patched URL parser.

  • Refresh the Nix build inputs. Linux and Apple Silicon packages now use
    zlib 1.4.

  • Speak the revised NIP-5F local signer protocol, where signers have no
    default account. Log in with ngit account login --socket [npub]: the
    signer asks you to pick an account and ngit saves it as the login. Without
    a login, ngit no longer signs as the signer's active account. ngit keeps
    the client secret a signer gives it in a user-only file, checks saved
    socket logins with a non-interactive ping and requires a valid pong before
    using them. It logs out of an account in the signer
    when its last selection here is removed, warning when the signer is
    unreachable or does not confirm revocation. A locked signer stops ordinary
    logout of a bare npub before ngit deletes a stored credential.
    Global login, account reactivation, and logout use the global socket even
    inside a repository with its own socket. Socket discovery honors both user
    Git config files and system settings before the environment fallback.
    Named socket login reports unreadable profile data before requesting access.
    A removed profile's old Git alias no longer keeps its socket grant alive.
    --signer <npub> and account login <npub> ask the signer to log in when
    neither it nor stored credentials have the account; status and inventory
    lookups never do. ngit
    also finds the socket at $NOSTR_SIGNER_SOCKET. Signers on the earlier
    draft need updating, and existing socket logins need logging in again.

Fixed

  • Remote signing keeps waiting when a malformed NIP-46 notification cannot
    be tied to the pending request. A malformed reply carrying the request ID
    fails immediately.

  • An empty remote signing result for an nsite manifest or other event now
    identifies the event kind and distinguishes an explicit rejection from a
    missing signature.

  • Update ZIP parsing for APK metadata and self-update archives to pick up
    corrected file-header lengths and handling of multi-disk directories.

  • Update the HTTP/2 transport to honor sensitive-header marking when a
    header value already appears in the compression table.

  • Global login and logout edit the file that holds the active login when both
    user Git configs exist. A new selection follows Git’s global write path.
    If another global login would mask a direct replacement or its npub, ngit explains
    how to select the new account by profile before changing the login.
    Direct key logins save their verified npub alongside the key or its pointer.
    An explicitly selected account can use its matching Git credential from
    either user file.

  • Cached repository info and offline release, application, and asset reads
    identify the selected account without contacting a signer or asking for a grant.

  • Keep Windows builds working with the revised Unix socket signer protocol.

  • Reusing private GRASP relays across repositories skips encryption, signing,
    and publication of an unchanged private Git relay list. On Unix, ngit caches
    the plaintext of a newly published list before verifying it.