Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Proget Vulnerability Scan: "Padding is invalid and cannot be removed"

    Scheduled Pinned Locked Moved Support
    6 Posts 4 Posters 14 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      john.a.henson_0753
      last edited by

      When running a vulnerability scan on the unapproved nuget feed I get the following error.

      "Padding is invalid and cannot be removed."

      There is no additional information that I can find. I did see a similar post in this forum here but no resolution was offered. Has anyone had this problem on Proget?

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @john.a.henson_0753
        last edited by

        Hi @john-a-henson_0753 ,

        Without seeing the stack trace it's hard to say, but that error typically is related to a decryption failure of some kind of secret. I'm guessing the API key?.

        That most often happens when migrate to a different server, but don't bring over the same encryption key. If you can make sure the encryption key is same, then the error goes away.

        Otherwise, you can just delete the vulnerability source and add it back.

        Cheers,
        Alana

        1 Reply Last reply Reply Quote 0
        • J Offline
          john.a.henson_0753
          last edited by

          That was the answer. Something about the API key was not working. I had to delete the source and recreate but that still didn't fix it. I then had to go into OSS side and regenerate the API key and add it back to the newly created source. Thanks again for pointing me in the right direction.

          1 Reply Last reply Reply Quote 0
          • V Offline
            vishal_2561
            last edited by vishal_2561

            Hi @atripp

            I am getting same error and yes I am moving buildmaster to another server. Where should i look for encryption key ?

            In Server, when i click on any existing server it has "Type": "decryption failed".

            Thanks.

            1 Reply Last reply Reply Quote 0
            • V Offline
              vishal_2561
              last edited by

              I copied encryption key from c:\ProgramData\Inedo\Shared config, and no longer getting that error. But still all server status are "unknown".

              stevedennisS 1 Reply Last reply Reply Quote 0
              • stevedennisS Offline
                stevedennis inedo-engineer @vishal_2561
                last edited by

                @vishal_2561 please restart the BUildMaster service and wait for a few minutes for the servers to update; if there's still issues, please post details to a new topic :)

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation