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

Can't invite another user to be owner of a crate #2

Closed
glueball opened this issue Nov 8, 2021 · 1 comment
Closed

Can't invite another user to be owner of a crate #2

glueball opened this issue Nov 8, 2021 · 1 comment

Comments

@glueball
Copy link

glueball commented Nov 8, 2021

We have a ktra installation in production.
I have a library in ktra, and another user that should be able to update it. I have verified that the username is correct by issuing a login call with cURL. Then I issue the owner cargo command:

$ cargo owner --registry ktra --add username
    Updating `ktra` index
error: failed to invite owners to crate `ktra` on registry at (url)

The ktra executable outputs the following (among other lines):

unable to process request (internal error) status=500 error=Rejection([InvalidLoginNames(["username"])

@glueball glueball closed this as completed Nov 8, 2021
@gagbo
Copy link
Collaborator

gagbo commented Nov 15, 2021

For the record (and if anyone else finds this), the error probably was that the username in the cargo command had to be prefixed with ktra-secure-auth: as in

cargo owner --registry ktra --add ktra-secure-auth:username

I had the same issue recently, that's why I pushed moriturus/ktra#29

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

No branches or pull requests

2 participants