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

DeprecationWarning #51

Open
HDBK2297 opened this issue Aug 5, 2024 · 7 comments
Open

DeprecationWarning #51

HDBK2297 opened this issue Aug 5, 2024 · 7 comments

Comments

@HDBK2297
Copy link

HDBK2297 commented Aug 5, 2024

##error [DEP0106] DeprecationWarning: crypto.createCipher is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
##error Warning: Use Cipheriv for counter mode of aes-256-ctr
##error [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

@danielste888
Copy link

danielste888 commented Oct 18, 2024

using v6.0.6 on Windows agent v3.242.1 displays the same error then the pipeline stops

@qetza
Copy link
Owner

qetza commented Oct 21, 2024

Hi @HDBK2297, @danielste888,
Thanks for reporting the issue, I'll see if i can update the dependency.

@AndBrug
Copy link

AndBrug commented Nov 21, 2024

Hello, any updates regarding this issue?
In my case, the warning is blocking and the pipeline stops even though the verbose mode logs the token replacements correctly.
I had to roll back to the old version of the task (@3) to avoid blocking production

@qetza
Copy link
Owner

qetza commented Nov 21, 2024

Hi @AndBrug,
I cannot reproduce the issue locally so it's hard to fix. I'll take a look this week-end if i can find where the function is called and if i can update it.

@qetza
Copy link
Owner

qetza commented Dec 8, 2024

After some investigation it seems that both issues are coming from the function _exposeTaskLibSecret in the azure-pipelines-task-lib which seems to be used when you have set a proxy password or a client cert password on the agent.

Can you confirm that you are setting on of these?

I'll report this issue to the team owning the azure-pipelines-task-lib.

@AndBrug
Copy link

AndBrug commented Dec 9, 2024

I confirm that I am using a proxy password.

Thank you for your analysis and reporting the bug to the team responsible for the azure-pipelines-task-lib !

@danielste888
Copy link

Me too: I'm using it behind a corporate proxy

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