azure-pipelines-tasks: Warning into builds pipelines: Use Cipheriv for counter mode of aes-256-ctr

Issue Description

We faced next warning into all our builds pipelines:

Tasks: Install an Apple provisioning profile, Xcode, PowerShell, Command Line, Shell Script …

image

Previous issue has not yet been fixed: https://github.com/microsoft/azure-pipelines-tasks/issues/9783

Environment

Server - Azure Pipelines Agent - Hosted on MacOS/Ubuntu/VS2017/VS2019

Task logs

==============================================================================
Task         : PowerShell
Description  : Run a PowerShell script on Linux, macOS, or Windows
Version      : 2.151.2
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
==============================================================================
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:776) Warning: Use Cipheriv for counter mode of aes-256-ctr
Generating script.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 33
  • Comments: 56 (4 by maintainers)

Most upvoted comments

@damccorm, @alexander-smolyakov: Hi guys. I’m sorry for tagging, but may I ask about the progress of this issue? It seems that the original problem is fixed in a few tasks, but still happens in “AppCenterDistribute@3” task. This is severe to our organization as we use the tasks in many pipelines 😦

The cmdline task needs to be updated on our end - we’ve actually done the work for this in that task specifically, it should roll out over the next few weeks. No action should be required on your end.

Yeah maybe you guys should get going here. It’s about time. It’s not the issue that’s stale, it’s the maintainers. I mean come on! A hyped product that people pay for and then no feedback in more than 3 years? That’s not only disappointing it is downright inacceptable!

Hi guys, same issue still apparent in AppCenterDistribute@3:

CleanShot 2021-03-15 at 01 43 19@2x

We are getting the same warning on Azure Build Pipeline while running Ghost Inspector Extension. Any update on this? image

Same thing with the Ansible task. Seems this hasn’t been updated for a while.

Is there any progress on this? Also getting this on the AppCenterDistribute@3 task

2020-09-29T13:43:43.1833800Z ##[section]Starting: Deploy /Users/runner/work/r1/a/{repo_name}/drop/{app_name}.ipa to Visual Studio App Center
2020-09-29T13:43:43.1844620Z ==============================================================================
2020-09-29T13:43:43.1845020Z Task         : App Center distribute
2020-09-29T13:43:43.1845400Z Description  : Distribute app builds to testers and users via Visual Studio App Center
2020-09-29T13:43:43.1845740Z Version      : 3.173.0
2020-09-29T13:43:43.1846000Z Author       : Microsoft Corporation
2020-09-29T13:43:43.1846410Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/app-center-distribute
2020-09-29T13:43:43.1846860Z ==============================================================================
2020-09-29T13:43:44.1702000Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1703260Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1718550Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1719560Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1720310Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1721040Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1721840Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1722570Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1723280Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1724160Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1724930Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1726390Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1727210Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1727940Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1728740Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1729490Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1730210Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1731010Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1731750Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1732470Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1733270Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:44.1734000Z (node:794) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-09-29T13:43:50.1875910Z ##[section]Finishing: Deploy /Users/runner/work/r1/a/_{repo_name}/drop/{app_name}.ipa to Visual Studio App Center

The tasks returns as successful but no bulid is send to App Center

We have updated most of the tasks including the mentioned PythonScript, Powershell, and Shell. The changes are rolling out now and we are continuing to update the other tasks

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

No any action for 180 days ? 😃

we are also having an issue with Ansible Task

`Starting: setting up jump host

Task : Ansible Description : This task executes an Ansible playbook using a specified inventory via command line interface Version : 0.0.5 Author : Microsoft Corporation Help : More Information

(node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:1575) Warning: Use Cipheriv for counter mode of aes-256-ctr `

same issue for - task: ms-vscs-rm.vss-services-ansible.ansible-task.Ansible@0 any workaround that we can implement ?

Hello,

I have the same issue using Ansible Extension:

2020-11-12T08:56:44.5866532Z (node:21928) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-11-12T08:56:44.5868036Z (node:21928) Warning: Use Cipheriv for counter mode of aes-256-ctr
[..]
2020-11-12T08:56:44.5887078Z (node:21928) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-11-12T08:56:44.5888122Z (node:21928) Warning: Use Cipheriv for counter mode of aes-256-ctr

The output is showing up as failed even if the ansible return is success.

I’ll compose a list of what is left and add it here this week so it can be tracked

I’m getting also this error right now:

2022-06-22T06:37:07.1118004Z ##[section]Starting: Run backup
2022-06-22T06:37:07.1125349Z ==============================================================================
2022-06-22T06:37:07.1125611Z Task         : Shell Exec
2022-06-22T06:37:07.1125831Z Description  : Execute shell commands without creating a shell file
2022-06-22T06:37:07.1126053Z Version      : 0.2.0
2022-06-22T06:37:07.1126222Z Author       : Tsuyoshi Ushio
2022-06-22T06:37:07.1126449Z Help         : Replace with markdown to show in help
2022-06-22T06:37:07.1126701Z ==============================================================================
2022-06-22T06:37:07.2259395Z rclone copy -v xyz
2022-06-22T06:37:07.2268777Z [command]/usr/bin/bash ./.tempexecution.sh
2022-06-22T06:37:07.2325739Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2326814Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2327589Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2328415Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2329198Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2330029Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2330798Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2331555Z (node:1587) Warning: Use Cipheriv for counter mode of aes-256-ctr
2022-06-22T06:37:07.2351877Z xxxxxxxxxxxxxxxxxxxxxx
2022-06-22T06:37:07.2362912Z ./.tempexecution.sh: line 2: rclone: command not found
2022-06-22T06:37:07.2427551Z ##[error]Error: /usr/bin/bash failed with return code: 127
2022-06-22T06:37:07.2438065Z ##[section]Finishing: Run backup

Any news? I am having same issue

I’m having the same problem for the run command Line task: As this has bothered me for a long time I was googling and this seems to be the right spot to mention it.

image

I made a separate issue to track this update for all the tasks that call to us: https://github.com/microsoft/build-task-team/issues/144

Upgrading Azure DevOps GitVersion task on windows-latest hosted build agent from version 4 to 5 removed the warning as well as reduced task execution time from 1m 11 secs to 6 secs.