Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git: mirror-info api will return passphrase in plaintext and not display if private key is set when streaming #560

Closed
jalfvort opened this issue May 22, 2022 · 0 comments · Fixed by #561

Comments

@jalfvort
Copy link
Contributor

When using the non-streaming mirror-info api, the Info body response like this:
(This is correct)

    "privateKey": "-",
    "passphrase": "-"

When using the streaming mirror-info api, the Info body returns like this

"privateKey":"","passphrase":"helloworld"

When streaming the body no longer has a "-" for privateKey and passphrase is returned in plaintext.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant