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

Error: TrustFailure (The authentication or decryption has failed.) #17

Closed
rfay opened this issue Sep 25, 2019 · 5 comments
Closed

Error: TrustFailure (The authentication or decryption has failed.) #17

rfay opened this issue Sep 25, 2019 · 5 comments

Comments

@rfay
Copy link
Contributor

rfay commented Sep 25, 2019

Possibly related to #8

In the last month I've been unable to use mono-choco at all because a push results in a TrustFailure:

docker run --rm -v $PWD:/tmp/chocolatey -w /tmp/chocolatey linuturk/mono-choco push -s https://push.chocolatey.org/ --api-key=<key>
Chocolatey v0.10.15.0
Directory 'opt/chocolatey/lib' does not exist.

Chocolatey is not an official build (bypassed with --allow-unofficial).
 If you are seeing this message and it is not expected, your system may
 now be in a bad state. Only official builds are to be trusted.

Attempting to push ddev.1.11.1.nupkg to https://push.chocolatey.org/
Error: TrustFailure (The authentication or decryption has failed.)

I'm able to push the exact same package on Windows using choco push

@rekire
Copy link
Contributor

rekire commented Oct 4, 2019

It seems that this is a bug in mono 3.0, but since this release is totally outdated the mono project just dropped the support. There is a quite old PR for chocolaty to use a newer version of the .net framework which aims to fix this bug. Let up hope that this will be merged soon, so that @Linuturk can create a new image.

@Linuturk
Copy link
Owner

Linuturk commented Oct 4, 2019

I subscribed to the linked PR. I'll keep an eye out.

@TheCakeIsNaOH
Copy link
Contributor

I think it is caused by- https://github.com/chocolatey/chocolatey.org/issues/584

@rekire
Copy link
Contributor

rekire commented Oct 6, 2019

You could publish a "patched" version with this workaround: https://github.com/chocolatey/chocolatey.org/issues/584#issuecomment-538702620 this is a bit hacky, but not causing security issues out of my view.

@rfay
Copy link
Contributor Author

rfay commented Nov 8, 2019

@rfay rfay closed this as completed Nov 8, 2019
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

4 participants