Skip to content
View TanvirTian's full-sized avatar

Block or report TanvirTian

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
TanvirTian/README.md

Hey, I'm Tanvir 👋

Software engineer


CNCF Contributor

Go · Python · Docker · PostgreSQL · Redis · Linux

GitHub contribution koi

Open-source contributions

Project Repo stars Merged PRs Focus
ORAS 2.5k 29 OCI, security, concurrency, filesystem safety, CLI, CI
ORAS-Go 301 6 API correctness, compatibility, credentials
Docker CLI 6.1k 1 Build system, error handling
Vinix 2.7k 2 AArch64, QEMU, Linux
go-criu 257 1 Documentation, code quality
Moby 72.3k 1 Documentation
pip 10.3k 1 CLI correctness, argument validation, testing
gVisor 20.1k 1 Documentation

Want to see more? Check out all my merged pull requests.

Security, Reliability & Data Integrity

ORAS #2222 · Limit manifest config fetch size

oras manifest fetch-config buffered the entire config blob in memory without a size limit. A malicious registry could serve an arbitrarily large blob and exhaust client memory.

Fix: Enforced a 4 MiB config-size limit, rejecting oversized configs before downloading the full blob.

Follow-up: Restored --output - --pretty support with bounded buffering in #2225.

ORAS #2218 · Detect credentials in multiple JSON values

Credential redaction stopped scanning after the first JSON value, potentially exposing credentials in later values in debug logs.

Fix: Scan every JSON value and redact credentials wherever they appear.

Tests: Added regression tests for credentials appearing after the first value.

ORAS #2194 · Clean up partial pull output on failure

A failed multi-platform oras pull could leave partially written files behind after an output-path collision. Concurrent pulls also made the result dependent on timing.

Fix: Track output paths, distinguish pre-existing files from newly created files, and clean up only files and directories created by the failed operation.

Tests: Added cleanup, path-tracking, and duplicate-file tests, plus a CLI-level reproduction.

ORAS #2183 · Fix concurrency in Tagged

Tagged.Tags() modified its internal slice while holding only a read lock and returned the shared slice directly.

Fix: Use a write lock when sorting and return a copy to prevent concurrent access and external mutation issues.


CLI Correctness & Developer Experience

Docker CLI #7373 · Handle remote build context download failures

Fixed docker build to report errors when downloading a remote build context fails instead of continuing without properly surfacing the failure.

Tests: Added a regression test to ensure the error is reported and the build does not continue.

PIP #14391 · Reject unexpected positional arguments

Several pip commands silently ignored extra positional arguments, which could make users think their input had been accepted.

Fix: Made pip check, pip completion, pip debug, pip freeze, pip inspect, and pip list reject unexpected arguments with clear errors.

Tests: Added regression coverage for all six commands.

ORAS #2378 · Validate OCI layout tags

Invalid bare tags could be accepted when pushing artifacts to OCI layouts.

Fix: Validate bare tags for --oci-layout while preserving raw reference names for --oci-layout-path.

Tests: Added regression coverage for invalid tags, registry ports, uppercase references, and special characters.

ORAS #2353 · Fix repository tag filtering in OCI layouts

oras repo tags --oci-layout-path could show tags from other repositories when given a tagged reference. It also failed to find existing manifests with repository-scoped digest references.

Fix: Filter tags by repository for both tagged and digest references.

Tests: Added unit and end-to-end tests.

ORAS #2304 · Require digest references for blob commands

oras blob fetch could return an entire manifest instead of a blob, while oras blob delete could accidentally delete a manifest when given a tag in an OCI image layout.

Fix: Require digest references for both commands and return clear errors when tags are supplied.

Tests: Added unit and end-to-end regression tests.

ORAS #PR_NUMBER · Avoid creating OCI layouts during deletion

Deleting a blob or manifest from a missing or invalid OCI layout could unexpectedly create the layout.

Fix: Validate the existing OCI layout before deletion without creating or modifying files when the layout is missing or invalid.

Tests: Added coverage for missing remote CA files, invalid layouts, and successful blob and manifest deletion.


Compatibility & Maintenance

ORAS-Go #1667 · Fix authentication after HTTPS upgrades

Authentication could fail when a registry redirected a request from HTTP to HTTPS on the same host because the scheme change affected origin validation.

Fix: Added same-host HTTPS-upgrade authentication handling while preserving safeguards against unsafe redirect targets.

Tests: Added coverage for Basic and Bearer authentication, redirect boundaries, credential-cache behavior, and unsafe HTTPS upgrades.

ORAS-Go #1482 · Make credential lookup case-insensitive

Credential lookup failed when hostname casing differed between storing and retrieving credentials.

Fix: Added case-insensitive address matching while preserving path case-sensitivity and exact-match precedence.

Verified with: Targeted and full-suite tests, the race detector, and an independent reproduction through the public Go API.

ORAS-Go #1555 · Migrate directory annotation keys

Moved directory annotation keys to the new namespace while keeping older artifacts compatible.

Fix: Added validation for conflicting annotations and updated migration documentation.

Tests: Added coverage for migration and compatibility edge cases.


"You miss every shot you never take."

📫 Let's Connect

LinkedIn

Pinned Loading

  1. oras-project/oras oras-project/oras Public

    OCI registry client - managing content like artifacts, images, packages

    Go 2.5k 310

  2. oras-project/oras-go oras-project/oras-go Public

    ORAS Go library

    Go 301 196

  3. daisy-the-mew daisy-the-mew Public

    A tiny desktop pet cat that lives on your screen. Walks, naps, watches your cursor, and bounces when dropped. Built with Go (Golang) + Ebitengine.

    Go 12

  4. NesoHQ/bgce-archive NesoHQ/bgce-archive Public

    BGCE-CMS

    TypeScript 126 75

  5. Onuronon-lab/Shrutik Onuronon-lab/Shrutik Public

    Open-source voice data collection platform for building inclusive voice datasets. Collaborative transcription with quality consensus. FastAPI + React + PostgreSQL.

    Python 13 9