Skip to content

Prevent Opening JSON Key Path unless It's an IO Object #133

Open
@cacheflow

Description

@cacheflow

Currently, in the json_key method it assumes that json_key_path will be an IO-like object. This can cause an issue where if someone accidentally passes their credentials in plaintext or a non-IO like object, the Gem will attempt to open the credentials and they'll be displayed in plain text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions