Context: Forge needs HOTP/TOTP and password-hash compatibility (Gitea pbkdf2_sha256) for M04 identity. Forge currently ships temporary RFC-verified implementations and tracks this as VL-CRYPTO-01 and VL-CRYPTO-02.
Need:
HMAC-SHA1 (RFC 2104) for HOTP (RFC 4226) and TOTP (RFC 6238).
PBKDF2-HMAC-SHA256 (RFC 8018) with checked iteration/salt/output bounds.
Both should be constant-time where they compare or process secrets, wipe intermediate key material, and never log inputs.
Tests/gate: RFC 2202 and RFC 4231 vectors for HMAC, RFC 4226/6238 vectors for the OTP consumers, and RFC 7914 PBKDF2 vectors plus boundary and overflow cases. Forge M04 swaps its temporary implementation for these.
Context: Forge needs HOTP/TOTP and password-hash compatibility (Gitea pbkdf2_sha256) for M04 identity. Forge currently ships temporary RFC-verified implementations and tracks this as VL-CRYPTO-01 and VL-CRYPTO-02.
Need:
- HMAC-SHA1 (RFC 2104) for HOTP (RFC 4226) and TOTP (RFC 6238).
- PBKDF2-HMAC-SHA256 (RFC 8018) with checked iteration/salt/output bounds.
Both should be constant-time where they compare or process secrets, wipe intermediate key material, and never log inputs.
Tests/gate: RFC 2202 and RFC 4231 vectors for HMAC, RFC 4226/6238 vectors for the OTP consumers, and RFC 7914 PBKDF2 vectors plus boundary and overflow cases. Forge M04 swaps its temporary implementation for these.
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 HOTP/TOTP and password-hash compatibility (Gitea pbkdf2_sha256) for M04 identity. Forge currently ships temporary RFC-verified implementations and tracks this as VL-CRYPTO-01 and VL-CRYPTO-02.
Need:
Both should be constant-time where they compare or process secrets, wipe intermediate key material, and never log inputs.
Tests/gate: RFC 2202 and RFC 4231 vectors for HMAC, RFC 4226/6238 vectors for the OTP consumers, and RFC 7914 PBKDF2 vectors plus boundary and overflow cases. Forge M04 swaps its temporary implementation for these.