Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aws-crt-cpp for openSUSE:Factory checked in at 2025-11-21 16:56:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aws-crt-cpp (Old) and /work/SRC/openSUSE:Factory/.aws-crt-cpp.new.2061 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-crt-cpp" Fri Nov 21 16:56:18 2025 rev:41 rq:1319057 version:0.35.3 Changes: -------- --- /work/SRC/openSUSE:Factory/aws-crt-cpp/aws-crt-cpp.changes 2025-11-11 19:21:26.467735342 +0100 +++ /work/SRC/openSUSE:Factory/.aws-crt-cpp.new.2061/aws-crt-cpp.changes 2025-11-21 16:57:13.671749660 +0100 @@ -1,0 +2,7 @@ +Thu Nov 20 08:26:31 UTC 2025 - John Paul Adrian Glaubitz <[email protected]> + +- Update to version 0.35.3 + * Bump up aws-c-cal version by @azkrishpy in (#796) + * Bind out log-in provider by @sbiscigl in (#798) + +------------------------------------------------------------------- Old: ---- v0.35.2.tar.gz New: ---- v0.35.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aws-crt-cpp.spec ++++++ --- /var/tmp/diff_new_pack.LSy1BU/_old 2025-11-21 16:57:14.255774269 +0100 +++ /var/tmp/diff_new_pack.LSy1BU/_new 2025-11-21 16:57:14.259774438 +0100 @@ -20,7 +20,7 @@ %define library_soversion 1 Name: aws-crt-cpp -Version: 0.35.2 +Version: 0.35.3 Release: 0 Summary: AWS C++ wrapper for AWS SDK C libraries License: Apache-2.0 ++++++ v0.35.2.tar.gz -> v0.35.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.35.2/VERSION new/aws-crt-cpp-0.35.3/VERSION --- old/aws-crt-cpp-0.35.2/VERSION 2025-10-31 22:47:38.000000000 +0100 +++ new/aws-crt-cpp-0.35.3/VERSION 2025-11-19 21:59:23.000000000 +0100 @@ -1 +1 @@ -0.35.2 +0.35.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.35.2/include/aws/crt/auth/Credentials.h new/aws-crt-cpp-0.35.3/include/aws/crt/auth/Credentials.h --- old/aws-crt-cpp-0.35.2/include/aws/crt/auth/Credentials.h 2025-10-31 22:47:38.000000000 +0100 +++ new/aws-crt-cpp-0.35.3/include/aws/crt/auth/Credentials.h 2025-11-19 21:59:23.000000000 +0100 @@ -495,6 +495,44 @@ }; /** + * Configuration options for the STS Web Identity credentials provider + */ + struct AWS_CRT_CPP_API CredentialsProviderLoginConfig + { + CredentialsProviderLoginConfig(); + + /** + * The arn associated with the AWS login session. + */ + String LoginSession; + + /** + * Overrides the login cache directory. by default the cache directory + * is located at `~/.aws/login/cache`. + */ + String LoginCacheOverride; + + /** + * The region associated with the AWS Login call + */ + String LoginRegion; + + /** + * Connection bootstrap to use to create the http connection required to + * query credentials from the STS provider + * + * Note: If null, then the default ClientBootstrap is used + * (see Aws::Crt::ApiHandle::GetOrCreateStaticDefaultClientBootstrap) + */ + Io::ClientBootstrap *Bootstrap; + + /** + * TLS configuration for secure socket connections. + */ + Io::TlsConnectionOptions TlsConnectionOptions; + }; + + /** * Simple credentials provider implementation that wraps one of the internal C-based implementations. * * Contains a set of static factory methods for building each supported provider, as well as one for the @@ -625,6 +663,13 @@ const CredentialsProviderSTSWebIdentityConfig &config, Allocator *allocator = ApiAllocator()); + /** + * Creates a AWS Login based credentials provider + */ + static std::shared_ptr<ICredentialsProvider> CreateCredentialsProviderLogin( + const CredentialsProviderLoginConfig &config, + Allocator *allocator = ApiAllocator()); + private: static void s_onCredentialsResolved(aws_credentials *credentials, int error_code, void *user_data); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-crt-cpp-0.35.2/source/auth/Credentials.cpp new/aws-crt-cpp-0.35.3/source/auth/Credentials.cpp --- old/aws-crt-cpp-0.35.2/source/auth/Credentials.cpp 2025-10-31 22:47:38.000000000 +0100 +++ new/aws-crt-cpp-0.35.3/source/auth/Credentials.cpp 2025-11-19 21:59:23.000000000 +0100 @@ -514,6 +514,34 @@ return s_CreateWrappedProvider( aws_credentials_provider_new_sts_web_identity(allocator, &raw_config), allocator); } + + CredentialsProviderLoginConfig::CredentialsProviderLoginConfig() : Bootstrap(nullptr) {} + + std::shared_ptr<ICredentialsProvider> CredentialsProvider::CreateCredentialsProviderLogin( + const CredentialsProviderLoginConfig &config, + Allocator *allocator) + { + struct aws_credentials_provider_login_options raw_config; + AWS_ZERO_STRUCT(raw_config); + + raw_config.login_session = aws_byte_cursor_from_c_str(config.LoginSession.c_str()); + raw_config.login_cache_directory_override = + aws_byte_cursor_from_c_str(config.LoginCacheOverride.c_str()); + raw_config.login_region = aws_byte_cursor_from_c_str(config.LoginRegion.c_str()); + + raw_config.bootstrap = + (config.Bootstrap != nullptr) + ? config.Bootstrap->GetUnderlyingHandle() + : ApiHandle::GetOrCreateStaticDefaultClientBootstrap()->GetUnderlyingHandle(); + + const auto connectionOptions = config.TlsConnectionOptions.GetUnderlyingHandle(); + if (connectionOptions != nullptr) + { + raw_config.tls_ctx = connectionOptions->ctx; + } + + return s_CreateWrappedProvider(aws_credentials_provider_new_login(allocator, &raw_config), allocator); + } } // namespace Auth } // namespace Crt } // namespace Aws
