Impossible to suppress 'Found encrypted data but no privateKey' errors in a specific situation #22181
Replies: 3 comments
-
We might need to add a special case, Eg if force.encrypted === null |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue in the next scenario: A repo with the renovate bot "encrypted": {
"npmrc": "..."
}
When I hardcode the npmrc file in the config file, it works, but that's of course not the best solution. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
@jahredhope You can't share encrypted renovate objects between github app and self-hosted bot. If you like to use encryption with the saelf-hosted bot, you need to create a custom public and private key pair. checkout https://docs.renovatebot.com/self-hosted-configuration/#privatekey For more config questions please open a new discussion. |
Beta Was this translation helpful? Give feedback.
-
Which Renovate are you using?
Both Renovate Open Source CLI (through the GitHub Action) and WhiteSource Renovate App
Which platform are you using?
GitHub.com
Have you checked the logs? Don't forget to include them if relevant
What would you like to do?
I'd like to suppress the errors in a situation:
encrypted.npmToken
andnpmrc
options in itsrenovate.json
config fiflenpmToken
is encrypted using https://app.renovatebot.com/encrypt so can be decrypted only in the Renovate GitHub AppBeta Was this translation helpful? Give feedback.
All reactions