Context: Forge needs base32 for TOTP seeds, recovery codes and opaque IDs. It currently ships a temporary verified implementation and tracks this as VL-TEXT-01.
Need: encode/decode for RFC 4648 base32 (case-insensitive decode, strict invalid-character and non-zero pad-bit rejection) and Crockford base32 (i/l→1, o→0, reject u, skip separators), with bounded inputs and wiped partial output on failure.
Tests/gate: RFC 4648 section 10 vectors padded/unpadded/lowercase, every alphabet symbol, invalid texts, round trips across lengths and boundary sizes. Forge M04 replaces its temporary codec with this.
Context: Forge needs base32 for TOTP seeds, recovery codes and opaque IDs. It currently ships a temporary verified implementation and tracks this as VL-TEXT-01.
Need: encode/decode for RFC 4648 base32 (case-insensitive decode, strict invalid-character and non-zero pad-bit rejection) and Crockford base32 (i/l→1, o→0, reject u, skip separators), with bounded inputs and wiped partial output on failure.
Tests/gate: RFC 4648 section 10 vectors padded/unpadded/lowercase, every alphabet symbol, invalid texts, round trips across lengths and boundary sizes. Forge M04 replaces its temporary codec with this.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context: Forge needs base32 for TOTP seeds, recovery codes and opaque IDs. It currently ships a temporary verified implementation and tracks this as VL-TEXT-01.
Need: encode/decode for RFC 4648 base32 (case-insensitive decode, strict invalid-character and non-zero pad-bit rejection) and Crockford base32 (i/l→1, o→0, reject u, skip separators), with bounded inputs and wiped partial output on failure.
Tests/gate: RFC 4648 section 10 vectors padded/unpadded/lowercase, every alphabet symbol, invalid texts, round trips across lengths and boundary sizes. Forge M04 replaces its temporary codec with this.
Implemented as Text base32 codecs on branch
issue-43-base32(commit2eb3bd2), merged intomainasadd5999. Tests pass. Closing as done.