Skip to content

PRP: Secret extractor for Packagist Secrets #1663

@shipsteady

Description

@shipsteady

Secret name: Packagist Composer Credentials (packagist_uut_), Packagist API Keys (packagist_ack_), and Packagist API Secrets (packagist_acs_)

1. Packagist API Key

packagist_ack_[0-9a-f]{40,120}

2. Packagist API Secret

packagist_acs_[0-9a-f]{40,200}

3. Packagist auth.json extractor

Composer stores credentials in $COMPOSER_HOME/auth.json, so an extractor can detect them directly from that structure. Example:

{
    "http-basic": {
        "repo.packagist.com": {
            "username": "<username>",
            "password": "packagist_uut_<>"
        }
    }
}

Would this be considered a separate PRP? Could you clarify how rewards apply in cases like this?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PRPPatch Reward Program: This label is added to all PRP related issues for easy filteringPRP:AcceptedPatch Reward Program: This issue has been accepted as a PRP entry.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions