Commit Graph

1287 Commits

Author SHA1 Message Date
Larry Osterman
a2d975c7d4
API Review Feedback for Attestation SDK (#3543)
* API Review Feedback for Attestation SDK

* Updated changelog to reflect API Review updates
2022-05-03 13:46:35 -07:00
Jeremi Piotrowski
f1de8d20df
sdk/core: Reimplement Md5OpenSSL using EVP API (#3609)
The MD5_Init/Update/Final functions are deprecated in OpenSSL 3.0 and result in
a compile-time warning. Due to the default usage of -Werror during compilation,
these warnings are treated as errors and prevent the SDK from being built on
Ubuntu 22.04, which ships with OpenSSL by default. The deprecated APIs should
be replaced by the EVP APIs, which are already in use for the SHA family of
functions, and supported on all versions of OpenSSL.
2022-05-03 10:32:29 -07:00
Ahson Khan
82261744eb
Reword the curl proxy fix changelog entry. (#3606) 2022-05-02 14:46:35 -07:00
JinmingHu
5232334520
fix cmake in storage (#3604) 2022-04-30 10:36:29 +08:00
Ahson Khan
dffcb4c62b
Remove extra period at ends of exception messages in winhttp transport (#3601) 2022-04-29 14:24:30 -07:00
Ahson Khan
5dba78eaa3
Fix-up the changelog entry link for the curtransportoption bug fix (#3598) 2022-04-29 14:23:56 -07:00
Ahson Khan
218784d82a
Create a session handle once in the transport ctor and reuse it for all requests rather than creating a new one each time. (#3585)
* Reuse the same session handle for all requests rather than creating a new one each time.

* Move the session handle creation to the transport adapter ctor.

* Update changelog entry.

* Address PR feedback.

* Change CreateSessionHandle to return a local session handle
2022-04-28 14:19:55 -07:00
Anton Kolesnyk
5cb60868e1
Add ClientCertificateCredential (#3578)
* Add ClientCertificateCredential

* Update unit test

* cspell

* Update Readme

* Cosmetic fixes

* Changelog to mention env cred update

* Fix warning

* cspell

* Tell CI to install openssl

* openssl for all Windows

* update dependency manifest

* Re-phrase changelog

* Clang warnings

* Clang warning

* Clang warning - 2

* Ubuntu18 warning

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>

* PR feedback

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
2022-04-28 10:47:45 -07:00
Daniel Jurek
140e05baa7
Migrate to matrix generator (#3553)
* Represent existing matrix in json
* Use new matrix
* Move to stage
* Cloud configuration
* MaxParallel
* DependsOn
* Quote CtestRegex
* Use template for cmake generate tests
* Template name mappings
* Formatting, parameters
* Remove duplicate bypass-local-dns.yml
* Enable Location override
* Add Location
* Add spelling words
* Use Ubuntu 20 where the name specifies Ubuntu 20
* Apply suggestions from code review

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* PR feedback
* fix storage sample
* Matrix documentation

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
Co-authored-by: Victor Vazquez <vhvb1989@gmail.com>
2022-04-26 14:34:23 +00:00
JinmingHu
7b87ea1c85
some small fixes on Storage cmakefiles (#3588) 2022-04-26 12:09:03 +08:00
JinmingHu
87b230a51d
Add batch protocol layer (#3580)
* Add batch protocol layer
2022-04-26 08:58:20 +08:00
Victor Vazquez
d799012230
update log level from Retry policy (#3586)
* update log level

* Update sdk/core/azure-core/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2022-04-25 22:53:58 +00:00
Victor Vazquez
bdb71249ce
update curl transport options to support ignore proxy from system (#3564)
* update curl transport options to support ignore proxy from system

* update changelog

* bug fix for cl
2022-04-25 16:50:17 +00:00
Rick Winter
075b8d0046
Fix typo (#3583) 2022-04-22 18:57:20 -07:00
JinmingHu
557e033941
Fix a typo extendable enumeration (#3535)
* Fix a typo extendable enumeration

* more
2022-04-09 04:25:25 +00:00
JinmingHu
7083d857af
Remove DefaultSasVersion (#3534)
because each service has its own version

closes https://github.com/Azure/azure-sdk-for-cpp/issues/3401
2022-04-07 23:54:19 -07:00
Azure SDK Bot
8d47e6d490
Increment package version after release of azure-core (#3496) 2022-04-06 11:32:14 -07:00
Azure SDK Bot
2403659257
Increment version for storage releases (#3506)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-queues
2022-04-06 04:40:31 +00:00
Azure SDK Bot
b16ff00d98
Increment package version after release of azure-security-attestation (#3505) 2022-04-05 23:35:21 +00:00
JinmingHu
fe0ed7e3bb
Storage April Release (#3478)
* Storage April Release

* update queue changelog

* update vcpkg.json

* update CL
2022-04-06 07:27:48 +08:00
Azure SDK Bot
39d1b844ef
Increment package version after release of azure-identity (#3504) 2022-04-05 12:49:56 -07:00
Anton Kolesnyk
ba377c8c64
Identity 1.3.0-beta.1 Release (#3483)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-04-05 10:59:02 -07:00
JinmingHu
6c0f062bad
fix a bug where the xml body cannot be too big (#3502)
* fix a bug where the xml body cannot be too big

* ut

* CL

* record
2022-04-05 13:15:04 +08:00
Larry Osterman
45b8553979
Removed one more Azure Core 1.2.0 dependency (#3498)
* Update vcpkg.json

* Removed Core 1.2.0 dependency
2022-04-01 11:23:59 -07:00
Larry Osterman
b61cd1b91d
Updated cmakelists to include core 1.5 requirement (#3494) 2022-03-31 16:35:54 -07:00
Daniel Jurek
ca8b843954
Revert "Vcpkg Beta Automation (#3430)" (#3495)
This reverts commit 60f0dfdcea.
2022-03-31 13:14:19 -07:00
Daniel Jurek
60f0dfdcea
Vcpkg Beta Automation (#3430)
* Script that automates updating vcpkg betas

* Wire up to pipeline

* Spelling, commentary

* Clone into repo name

* Remove-Item requires the path to exist, even if -Force is specified

* Bootstrap vcpkg

* Arguments to Test-ShouldReleaseToVcpkg.ps1

* More commit

* Escape quotes

* Quote git commit

* Set strict mode

* Use tags

* Actually tag

* Run git commands

* Invoke-Expression

* Onboard releasing package to vcpkg before attempting to isntall from overaly

* temporarily disable matrix generation (30s tasks sometimes runs for 20+ minutes)

* Test-ShouldReleaseToVcpkg.ps1

* Test-Path

* Test vcpkg build, also ensure we push

* Just the tags... low probability of success given that '--' if frequently treated as a separator

* Add ability to skip link verification for tighter inner loop

* Push tag separately

* Unnecessary condition and conjunction

* Base repo owner: Azure

* Specify remote name

* Tighten inner loop

* git remote -v

* workingDirectory

* Go back to two tags and a regular push

* Saving some progress

* Use original push method

* BaseRepoOwner

* Cleanup, put changes in the default branch (vcpkg does not look at refs outside of the default branch)

* Use default branch
2022-03-31 12:52:14 -07:00
Victor Vazquez
fa5dc0a770
azure-core, changelog for Apr2022 release (#3491)
* changelog for Apr2022 release

* revert
2022-03-31 12:19:43 -07:00
Victor Vazquez
4ab3901bbb
Rename winhttp transport option (#3488)
* rename option
2022-03-31 12:19:25 -07:00
Larry Osterman
75d0d74486
Update vcpkg.json (#3493) 2022-03-31 17:03:21 +00:00
Larry Osterman
731a4e632b
Prepare for C++ attestation release (#3481)
* Prepare for C++ attestation release
2022-03-29 17:14:41 -07:00
Anton Kolesnyk
e170e98cb1
Add Chained Token Credential (#3466) 2022-03-28 17:10:25 -07:00
JinmingHu
4053591a3d
remove amalgamate form CGManifest (#3467)
* remove amalgamate form CGManifest

* update NOTICE.txt
2022-03-28 11:22:17 +08:00
Victor Vazquez
5b9fcd98df
Update README.md (#3476) 2022-03-24 23:10:00 +00:00
Victor Vazquez
835f156af9
Vcpkg manifest and binary caching (#3329)
* binary cache and manifest

* update packages

* udpate

* add cache to private pipeline

* next try

* aver

* other

* again

* aver quick

* more

* this way

* again

* one more

* print

* test

* use depend

* more deps

* dep

* Apply suggestions from code review

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

* updated to use group variable

* update identity

* end line

* Update vcpkg.json

* Apply suggestions from code review

* cspell

* remove comment

* updates

* make cache mode depend on SAS env var

* map env var only for internal pipelines

* other approach

* what about this

* and this

* try

* amd

* another

* extra step

* typo

* override for internal

* use default succeded

* azure core update manifest

* a

* run cmake-generate nightly as well

* check for SAS

* check cache

* no secret

* fix is secret

* pass explicit

* use secret all the time

* char

* One more

* export

* echos

* last

* array

* remove question

* ok

* weird

* use account key

* substring

* VCPKG_BINARY_SOURCES

* Add module installation

* task:

* Correct pathing for module

* update source gen

* format

* update spelling

* IsWindoows

* Use pwsh

* Cannot clobber with PSModule-Helpers. Attempt plain install

* Attempt plain install

* Revert unnecessary change to Update-DocsMsToc.ps1

* template ready

* curl is required on Windows as well for some CI gates

* attestation

* fix format

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2022-03-24 09:11:30 -07:00
JinmingHu
01d0c8cbcf
Update migration guide, add sample for wraping sync into async (#3469) 2022-03-24 11:16:24 +08:00
Larry Osterman
af7281ef1a
Updated and add samples for Attestation service. (#3448)
* Moved samples around to meet new recommendations; added a couple of additional tests.
* Reworked attestation to include RetrieveAttestationValidationCollateral
* Attestation sample readme updates
* TPM doesn't need to retrieve response validation collateral
* Added cautionary warning about the dangers of overriding the TearDown method from inside a test case
* Added attestation team members to codeowners for attestation SDK
* Remove CODEOWNERS from cspell checks
* Don't hold a lock across retrieving the signers over the network
* Updated snippets in readme; clang-format
2022-03-22 14:29:03 -07:00
Victor Vazquez
d7536a2c25
Enforce TLS 1.2 for libcurl and winHttp (#3460)
* Enforce TLS 1.2 for libcurl and winHttp

* docs

* missing rename
2022-03-22 21:27:28 +00:00
Victor Vazquez
774077630a
only set when option insecure is enabled (#3463) 2022-03-22 19:49:48 +00:00
Victor Vazquez
feaaf0b414
Update release mode windows + samples (#3451)
* changes

* vs generator

* use macro

* release and samples

* add target to build smoke test

* revert

* reuse macro for samples

* extra legs for samples only

* storage connection string

* format

* order and macro

* update

* samples

* missing
2022-03-22 01:39:39 +00:00
Victor Vazquez
af590d80f3
[PERF FW] Insecure cert libcurl (#3434)
* Support insecure for libcurl

* format

* warnings and notes about insecure

* winhttp notice and warning

* revert

* add comment

* Update arg

* enable winHTTP insecure

* rename method

* rename method

* update raw pointer to ref

* cl

* docs

* docs
2022-03-21 16:18:13 -07:00
Victor Vazquez
0564cc479e
Improve the Transport exception from Libcurl adapter (#3456)
* improve the Transport exception

* update comment and name
2022-03-21 22:23:33 +00:00
George Arama
13175a4f41
Openssl1.1.1 (#3457)
* open ssl 1.1.1n

* manifests and vcpkg for attestation

* opensll - > git

* oops git

* set 1.1.1n as min version
2022-03-21 13:59:20 -07:00
George Arama
282ed53068
open ssl 1.1.1n (#3447)
* open ssl 1.1.1n

* manifests and vcpkg for attestation

* opensll - > git

* oops git
2022-03-21 11:17:21 -07:00
JinmingHu
71bdfddfee
Fix bug where we cannot use SAS authentication to move file/directory (#3422)
* Fix bug where we cannot use SAS authentication to move file/directory

* CL

* ut
2022-03-18 21:36:13 +08:00
Larry Osterman
abb6ac0c9a
Add Policy Management Certificates APIs (#3417)
* Added GetPolicyManagementCertificates

* Added Add and Remove policy certificate

* Added support for Tpm attestation

* Moved TPM to attestation service specific section

* Added support for validation callback

* Updated RequestFailedException documentation
2022-03-16 15:12:33 -07:00
Victor Vazquez
64e3130e2c
Adding Test-Proxy support to [Perf Fw] tests (#3257)
* cp

* cp

* cp

* Enable test proxy for perf tests

* unwanted

* format

* fix docs

* cspell

* parallel support and multi proxy

* update arg name

* more logs

* fix request redirection

* Apply suggestions from code review

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* run once before record, then after recording on

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2022-03-11 17:13:15 -08:00
Larry Osterman
f4e99416c9
RequestFailedException includes error information #3398 (#3397)
* RequestFailedException includes error information

* Fixed test collateral

* Added changelog entry for new core version; Added tests to verify response message contains all expected fields
2022-03-11 21:15:10 +00:00
Larry Osterman
8672f985aa
Create Extendable Enumeration base class (#3421)
* Created extendableenumeration class

* Convert attestation to use extendable enumeration; added test for extendable enumerations

Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-03-11 02:37:31 +00:00
JinmingHu
53f167dc37
Add missing header (#3420) 2022-03-10 12:04:12 -08:00