cpp/client/credentials_test.cc
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #include <memory>
20 
21 #include <gmock/gmock.h>
22 #include <gtest/gtest.h>
23 
24 #include <grpc/grpc.h>
25 #include <grpc/grpc_security.h>
29 #include <grpcpp/server_builder.h>
30 
31 #include "src/core/lib/gpr/env.h"
35 
36 #define CA_CERT_PATH "src/core/tsi/test_creds/ca.pem"
37 #define SERVER_CERT_PATH "src/core/tsi/test_creds/server1.pem"
38 #define SERVER_KEY_PATH "src/core/tsi/test_creds/server1.key"
39 #define CRL_DIR_PATH "test/core/tsi/test_creds/crl_data"
40 
41 namespace {
42 
43 constexpr const char* kRootCertName = "root_cert_name";
44 constexpr const char* kRootCertContents = "root_cert_contents";
45 constexpr const char* kIdentityCertName = "identity_cert_name";
46 constexpr const char* kIdentityCertPrivateKey = "identity_private_key";
47 constexpr const char* kIdentityCertContents = "identity_cert_contents";
48 
49 using ::grpc::experimental::ExternalCertificateVerifier;
50 using ::grpc::experimental::FileWatcherCertificateProvider;
51 using ::grpc::experimental::HostNameCertificateVerifier;
52 using ::grpc::experimental::StaticDataCertificateProvider;
53 
54 } // namespace
55 
56 namespace grpc {
57 namespace testing {
58 namespace {
59 
60 TEST(CredentialsTest, InvalidGoogleRefreshToken) {
61  std::shared_ptr<CallCredentials> bad1 = GoogleRefreshTokenCredentials("");
62  EXPECT_EQ(static_cast<CallCredentials*>(nullptr), bad1.get());
63 }
64 
65 TEST(CredentialsTest, DefaultCredentials) {
66  auto creds = GoogleDefaultCredentials();
67 }
68 
69 TEST(CredentialsTest, ExternalAccountCredentials) {
70  // url credentials
71  std::string url_options_string(
72  "{\"type\":\"external_account\",\"audience\":\"audience\",\"subject_"
73  "token_type\":\"subject_token_type\",\"service_account_impersonation_"
74  "url\":\"service_account_impersonation_url\",\"token_url\":\"https://"
75  "foo.com:5555/token\",\"token_info_url\":\"https://foo.com:5555/"
76  "token_info\",\"credential_source\":{\"url\":\"https://foo.com:5555/"
77  "generate_subject_token_format_json\",\"headers\":{\"Metadata-Flavor\":"
78  "\"Google\"},\"format\":{\"type\":\"json\",\"subject_token_field_name\":"
79  "\"access_token\"}},\"quota_project_id\":\"quota_"
80  "project_id\",\"client_id\":\"client_id\",\"client_secret\":\"client_"
81  "secret\"}");
82  auto url_creds = grpc::ExternalAccountCredentials(url_options_string,
83  {"scope1", "scope2"});
84  EXPECT_TRUE(url_creds != nullptr);
85  // file credentials
86  std::string file_options_string(
87  "{\"type\":\"external_account\",\"audience\":\"audience\",\"subject_"
88  "token_type\":\"subject_token_type\",\"service_account_impersonation_"
89  "url\":\"service_account_impersonation_url\",\"token_url\":\"https://"
90  "foo.com:5555/token\",\"token_info_url\":\"https://foo.com:5555/"
91  "token_info\",\"credential_source\":{\"file\":\"credentials_file_path\"},"
92  "\"quota_project_id\":\"quota_"
93  "project_id\",\"client_id\":\"client_id\",\"client_secret\":\"client_"
94  "secret\"}");
95  auto file_creds = grpc::ExternalAccountCredentials(file_options_string,
96  {"scope1", "scope2"});
97  EXPECT_TRUE(file_creds != nullptr);
98  // aws credentials
99  std::string aws_options_string(
100  "{\"type\":\"external_account\",\"audience\":\"audience\",\"subject_"
101  "token_type\":\"subject_token_type\",\"service_account_impersonation_"
102  "url\":\"service_account_impersonation_url\",\"token_url\":\"https://"
103  "foo.com:5555/token\",\"token_info_url\":\"https://foo.com:5555/"
104  "token_info\",\"credential_source\":{\"environment_id\":\"aws1\","
105  "\"region_url\":\"https://foo.com:5555/region_url\",\"url\":\"https://"
106  "foo.com:5555/url\",\"regional_cred_verification_url\":\"https://"
107  "foo.com:5555/regional_cred_verification_url_{region}\"},"
108  "\"quota_project_id\":\"quota_"
109  "project_id\",\"client_id\":\"client_id\",\"client_secret\":\"client_"
110  "secret\"}");
111  auto aws_creds = grpc::ExternalAccountCredentials(aws_options_string,
112  {"scope1", "scope2"});
113  EXPECT_TRUE(aws_creds != nullptr);
114 }
115 
116 TEST(CredentialsTest, StsCredentialsOptionsCppToCore) {
118  options.token_exchange_service_uri = "https://foo.com/exchange";
119  options.resource = "resource";
120  options.audience = "audience";
121  options.scope = "scope";
122  // options.requested_token_type explicitly not set.
123  options.subject_token_path = "/foo/bar";
124  options.subject_token_type = "nice_token_type";
125  options.actor_token_path = "/foo/baz";
126  options.actor_token_type = "even_nicer_token_type";
127  grpc_sts_credentials_options core_opts =
129  EXPECT_EQ(options.token_exchange_service_uri,
130  core_opts.token_exchange_service_uri);
131  EXPECT_EQ(options.resource, core_opts.resource);
132  EXPECT_EQ(options.audience, core_opts.audience);
133  EXPECT_EQ(options.scope, core_opts.scope);
134  EXPECT_EQ(options.requested_token_type, core_opts.requested_token_type);
135  EXPECT_EQ(options.subject_token_path, core_opts.subject_token_path);
136  EXPECT_EQ(options.subject_token_type, core_opts.subject_token_type);
137  EXPECT_EQ(options.actor_token_path, core_opts.actor_token_path);
138  EXPECT_EQ(options.actor_token_type, core_opts.actor_token_type);
139 }
140 
141 TEST(CredentialsTest, StsCredentialsOptionsJson) {
142  const char valid_json[] = R"(
143  {
144  "token_exchange_service_uri": "https://foo/exchange",
145  "resource": "resource",
146  "audience": "audience",
147  "scope": "scope",
148  "requested_token_type": "requested_token_type",
149  "subject_token_path": "subject_token_path",
150  "subject_token_type": "subject_token_type",
151  "actor_token_path": "actor_token_path",
152  "actor_token_type": "actor_token_type"
153  })";
155  EXPECT_TRUE(
157  .ok());
158  EXPECT_EQ(options.token_exchange_service_uri, "https://foo/exchange");
159  EXPECT_EQ(options.resource, "resource");
160  EXPECT_EQ(options.audience, "audience");
161  EXPECT_EQ(options.scope, "scope");
162  EXPECT_EQ(options.requested_token_type, "requested_token_type");
163  EXPECT_EQ(options.subject_token_path, "subject_token_path");
164  EXPECT_EQ(options.subject_token_type, "subject_token_type");
165  EXPECT_EQ(options.actor_token_path, "actor_token_path");
166  EXPECT_EQ(options.actor_token_type, "actor_token_type");
167 
168  const char minimum_valid_json[] = R"(
169  {
170  "token_exchange_service_uri": "https://foo/exchange",
171  "subject_token_path": "subject_token_path",
172  "subject_token_type": "subject_token_type"
173  })";
175  minimum_valid_json, &options)
176  .ok());
177  EXPECT_EQ(options.token_exchange_service_uri, "https://foo/exchange");
178  EXPECT_EQ(options.resource, "");
179  EXPECT_EQ(options.audience, "");
180  EXPECT_EQ(options.scope, "");
181  EXPECT_EQ(options.requested_token_type, "");
182  EXPECT_EQ(options.subject_token_path, "subject_token_path");
183  EXPECT_EQ(options.subject_token_type, "subject_token_type");
184  EXPECT_EQ(options.actor_token_path, "");
185  EXPECT_EQ(options.actor_token_type, "");
186 
187  const char invalid_json[] = R"(
188  I'm not a valid JSON.
189  )";
190  EXPECT_EQ(
193  .error_code());
194 
195  const char invalid_json_missing_subject_token_type[] = R"(
196  {
197  "token_exchange_service_uri": "https://foo/exchange",
198  "subject_token_path": "subject_token_path"
199  })";
201  invalid_json_missing_subject_token_type, &options);
203  EXPECT_THAT(status.error_message(),
204  ::testing::HasSubstr("subject_token_type"));
205 
207  {
208  "token_exchange_service_uri": "https://foo/exchange",
209  "subject_token_type": "subject_token_type"
210  })";
214  EXPECT_THAT(status.error_message(),
215  ::testing::HasSubstr("subject_token_path"));
216 
218  {
219  "subject_token_path": "subject_token_path",
220  "subject_token_type": "subject_token_type"
221  })";
225  EXPECT_THAT(status.error_message(),
226  ::testing::HasSubstr("token_exchange_service_uri"));
227 }
228 
230  // Unset env and check expected failure.
231  gpr_unsetenv("STS_CREDENTIALS");
235 
236  // Set env and check for success.
237  const char valid_json[] = R"(
238  {
239  "token_exchange_service_uri": "https://foo/exchange",
240  "subject_token_path": "subject_token_path",
241  "subject_token_type": "subject_token_type"
242  })";
243  char* creds_file_name;
244  FILE* creds_file = gpr_tmpfile("sts_creds_options", &creds_file_name);
245  ASSERT_NE(creds_file_name, nullptr);
246  ASSERT_NE(creds_file, nullptr);
247  ASSERT_EQ(sizeof(valid_json),
248  fwrite(valid_json, 1, sizeof(valid_json), creds_file));
250  gpr_setenv("STS_CREDENTIALS", creds_file_name);
253  EXPECT_TRUE(status.ok());
254  EXPECT_EQ(options.token_exchange_service_uri, "https://foo/exchange");
255  EXPECT_EQ(options.resource, "");
256  EXPECT_EQ(options.audience, "");
257  EXPECT_EQ(options.scope, "");
258  EXPECT_EQ(options.requested_token_type, "");
259  EXPECT_EQ(options.subject_token_path, "subject_token_path");
260  EXPECT_EQ(options.subject_token_type, "subject_token_type");
261  EXPECT_EQ(options.actor_token_path, "");
262  EXPECT_EQ(options.actor_token_type, "");
263 
264  // Cleanup.
265  gpr_unsetenv("STS_CREDENTIALS");
266 }
267 
268 TEST(CredentialsTest, TlsChannelCredentialsWithDefaultRootsAndDefaultVerifier) {
270  options.set_verify_server_certs(true);
271  auto channel_credentials = grpc::experimental::TlsCredentials(options);
272  GPR_ASSERT(channel_credentials.get() != nullptr);
273 }
274 
276  CredentialsTest,
277  TlsChannelCredentialsWithStaticDataCertificateProviderLoadingRootAndIdentity) {
278  experimental::IdentityKeyCertPair key_cert_pair;
279  key_cert_pair.private_key = kIdentityCertPrivateKey;
280  key_cert_pair.certificate_chain = kIdentityCertContents;
281  std::vector<experimental::IdentityKeyCertPair> identity_key_cert_pairs;
282  identity_key_cert_pairs.emplace_back(key_cert_pair);
283  auto certificate_provider = std::make_shared<StaticDataCertificateProvider>(
284  kRootCertContents, identity_key_cert_pairs);
286  options.set_certificate_provider(certificate_provider);
287  options.watch_root_certs();
288  options.set_root_cert_name(kRootCertName);
289  options.watch_identity_key_cert_pairs();
290  options.set_identity_cert_name(kIdentityCertName);
291  auto channel_credentials = grpc::experimental::TlsCredentials(options);
292  GPR_ASSERT(channel_credentials.get() != nullptr);
293 }
294 
295 TEST(CredentialsTest,
296  TlsChannelCredentialsWithStaticDataCertificateProviderLoadingRootOnly) {
297  auto certificate_provider =
298  std::make_shared<StaticDataCertificateProvider>(kRootCertContents);
299  GPR_ASSERT(certificate_provider != nullptr);
300  GPR_ASSERT(certificate_provider->c_provider() != nullptr);
302  options.set_certificate_provider(certificate_provider);
303  options.watch_root_certs();
304  options.set_root_cert_name(kRootCertName);
305  auto channel_credentials = grpc::experimental::TlsCredentials(options);
306  GPR_ASSERT(channel_credentials.get() != nullptr);
307 }
308 
310  CredentialsTest,
311  TlsChannelCredentialsWithDefaultRootsAndStaticDataCertificateProviderLoadingIdentityOnly) {
312  experimental::IdentityKeyCertPair key_cert_pair;
313  key_cert_pair.private_key = kIdentityCertPrivateKey;
314  key_cert_pair.certificate_chain = kIdentityCertContents;
315  std::vector<experimental::IdentityKeyCertPair> identity_key_cert_pairs;
316  identity_key_cert_pairs.emplace_back(key_cert_pair);
317  auto certificate_provider =
318  std::make_shared<StaticDataCertificateProvider>(identity_key_cert_pairs);
320  options.set_certificate_provider(certificate_provider);
321  options.watch_identity_key_cert_pairs();
322  options.set_identity_cert_name(kIdentityCertName);
323  auto channel_credentials = grpc::experimental::TlsCredentials(options);
324  GPR_ASSERT(channel_credentials.get() != nullptr);
325 }
326 
328  CredentialsTest,
329  TlsChannelCredentialsWithFileWatcherCertificateProviderLoadingRootAndIdentity) {
330  auto certificate_provider = std::make_shared<FileWatcherCertificateProvider>(
333  options.set_certificate_provider(certificate_provider);
334  options.watch_root_certs();
335  options.set_root_cert_name(kRootCertName);
336  options.watch_identity_key_cert_pairs();
337  options.set_identity_cert_name(kIdentityCertName);
338  auto channel_credentials = grpc::experimental::TlsCredentials(options);
339  GPR_ASSERT(channel_credentials.get() != nullptr);
340 }
341 
342 TEST(CredentialsTest,
343  TlsChannelCredentialsWithFileWatcherCertificateProviderLoadingRootOnly) {
344  auto certificate_provider =
345  std::make_shared<FileWatcherCertificateProvider>(CA_CERT_PATH, 1);
347  options.set_certificate_provider(certificate_provider);
348  options.watch_root_certs();
349  options.set_root_cert_name(kRootCertName);
350  auto channel_credentials = grpc::experimental::TlsCredentials(options);
351  GPR_ASSERT(channel_credentials.get() != nullptr);
352 }
353 
354 TEST(CredentialsTest, TlsChannelCredentialsWithHostNameVerifier) {
355  auto verifier = std::make_shared<HostNameCertificateVerifier>();
357  options.set_verify_server_certs(true);
358  options.set_certificate_verifier(verifier);
359  auto channel_credentials = grpc::experimental::TlsCredentials(options);
360  GPR_ASSERT(channel_credentials.get() != nullptr);
361 }
362 
363 TEST(CredentialsTest, TlsChannelCredentialsWithSyncExternalVerifier) {
364  auto verifier =
365  ExternalCertificateVerifier::Create<SyncCertificateVerifier>(true);
367  options.set_verify_server_certs(true);
368  options.set_certificate_verifier(verifier);
369  options.set_check_call_host(false);
370  auto channel_credentials = grpc::experimental::TlsCredentials(options);
371  GPR_ASSERT(channel_credentials.get() != nullptr);
372 }
373 
374 TEST(CredentialsTest, TlsChannelCredentialsWithAsyncExternalVerifier) {
375  auto verifier =
376  ExternalCertificateVerifier::Create<AsyncCertificateVerifier>(true);
378  options.set_verify_server_certs(true);
379  options.set_certificate_verifier(verifier);
380  options.set_check_call_host(false);
381  auto channel_credentials = grpc::experimental::TlsCredentials(options);
382  GPR_ASSERT(channel_credentials.get() != nullptr);
383 }
384 
385 TEST(CredentialsTest, TlsChannelCredentialsWithCrlDirectory) {
386  auto certificate_provider = std::make_shared<FileWatcherCertificateProvider>(
389  options.set_certificate_provider(certificate_provider);
390  options.watch_root_certs();
391  options.set_root_cert_name(kRootCertName);
392  options.watch_identity_key_cert_pairs();
393  options.set_identity_cert_name(kIdentityCertName);
394  options.set_crl_directory(CRL_DIR_PATH);
395  auto channel_credentials = grpc::experimental::TlsCredentials(options);
396  GPR_ASSERT(channel_credentials.get() != nullptr);
397 }
398 
399 } // namespace
400 } // namespace testing
401 } // namespace grpc
402 
403 int main(int argc, char** argv) {
404  ::testing::InitGoogleTest(&argc, argv);
405  int ret = RUN_ALL_TESTS();
406  return ret;
407 }
grpc::EXPECT_THAT
EXPECT_THAT(status.error_message(), ::testing::HasSubstr("subject_token_type"))
SERVER_KEY_PATH
#define SERVER_KEY_PATH
Definition: cpp/client/credentials_test.cc:38
grpc::gpr_setenv
gpr_setenv("STS_CREDENTIALS", creds_file_name)
grpc::experimental::StsCredentialsOptionsFromJson
grpc::Status StsCredentialsOptionsFromJson(const std::string &json_string, StsCredentialsOptions *options)
Definition: secure_credentials.cc:162
testing
Definition: aws_request_signer_test.cc:25
tls_credentials_options.h
grpc::status
auto status
Definition: cpp/client/credentials_test.cc:200
CA_CERT_PATH
#define CA_CERT_PATH
Definition: cpp/client/credentials_test.cc:36
grpc::gpr_free
gpr_free(creds_file_name)
grpc_sts_credentials_options::subject_token_path
const char * subject_token_path
Definition: grpc_security.h:361
grpc
Definition: grpcpp/alarm.h:33
grpc_sts_credentials_options::resource
const char * resource
Definition: grpc_security.h:357
grpc_sts_credentials_options
Definition: grpc_security.h:355
grpc::ASSERT_EQ
ASSERT_EQ(sizeof(valid_json), fwrite(valid_json, 1, sizeof(valid_json), creds_file))
grpc_sts_credentials_options::audience
const char * audience
Definition: grpc_security.h:358
options
double_dict options[]
Definition: capstone_test.c:55
grpc::experimental::StsCredentialsOptionsFromEnv
grpc::Status StsCredentialsOptionsFromEnv(StsCredentialsOptions *options)
Definition: secure_credentials.cc:219
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
secure_credentials.h
grpc_core::testing::kRootCertName
constexpr const char * kRootCertName
Definition: tls_security_connector_test.cc:52
grpc_core::testing::kIdentityCertName
constexpr const char * kIdentityCertName
Definition: tls_security_connector_test.cc:53
gpr_tmpfile
FILE * gpr_tmpfile(const char *prefix, char **tmp_filename)
env.h
grpc::GoogleDefaultCredentials
std::shared_ptr< ChannelCredentials > GoogleDefaultCredentials()
Definition: secure_credentials.cc:115
grpc_security.h
tls_test_utils.h
verifier
static void verifier(grpc_server *server, grpc_completion_queue *cq, void *)
Definition: badreq.cc:31
grpc::creds_file
FILE * creds_file
Definition: cpp/client/credentials_test.cc:244
grpc::ExternalAccountCredentials
std::shared_ptr< CallCredentials > ExternalAccountCredentials(const grpc::string &json_string, const std::vector< grpc::string > &scopes)
Definition: secure_credentials.cc:121
grpc::creds_file_name
char * creds_file_name
Definition: cpp/client/credentials_test.cc:242
GPR_ASSERT
#define GPR_ASSERT(x)
Definition: include/grpc/impl/codegen/log.h:94
grpc_sts_credentials_options::actor_token_path
const char * actor_token_path
Definition: grpc_security.h:363
main
int main(int argc, char **argv)
Definition: cpp/client/credentials_test.cc:403
grpc_sts_credentials_options::scope
const char * scope
Definition: grpc_security.h:359
grpc.StatusCode.NOT_FOUND
tuple NOT_FOUND
Definition: src/python/grpcio/grpc/__init__.py:266
grpc.h
grpc::experimental::StsCredentialsCppToCoreOptions
grpc_sts_credentials_options StsCredentialsCppToCoreOptions(const StsCredentialsOptions &options)
Definition: secure_credentials.cc:255
tmpfile.h
grpc::gpr_unsetenv
gpr_unsetenv("STS_CREDENTIALS")
grpc::testing::invalid_json
const char invalid_json[]
Definition: cpp/client/credentials_test.cc:187
grpc.beta.implementations.CallCredentials
CallCredentials
Definition: implementations.py:35
grpc::invalid_json_missing_token_exchange_uri
const char invalid_json_missing_token_exchange_uri[]
Definition: cpp/client/credentials_test.cc:217
RUN_ALL_TESTS
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest.h:2471
grpc::ASSERT_NE
ASSERT_NE(creds_file_name, nullptr)
grpc::experimental::TlsChannelCredentialsOptions
Definition: tls_credentials_options.h:125
grpc_sts_credentials_options::token_exchange_service_uri
const char * token_exchange_service_uri
Definition: grpc_security.h:356
server_credentials.h
identity_key_cert_pairs
grpc_core::PemKeyCertPairList identity_key_cert_pairs
Definition: xds_end2end_test.cc:143
testing::InitGoogleTest
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition: bloaty/third_party/googletest/googletest/src/gtest.cc:6106
credentials.h
grpc::invalid_json_missing_subject_token_path
const char invalid_json_missing_subject_token_path[]
Definition: cpp/client/credentials_test.cc:206
grpc::GoogleRefreshTokenCredentials
std::shared_ptr< CallCredentials > GoogleRefreshTokenCredentials(const grpc::string &json_refresh_token)
grpc::experimental::TlsCredentials
std::shared_ptr< ChannelCredentials > TlsCredentials(const TlsChannelCredentialsOptions &options)
Builds TLS Credentials given TLS options.
Definition: secure_credentials.cc:316
benchmark.FILE
FILE
Definition: benchmark.py:21
grpc::fclose
fclose(creds_file)
CRL_DIR_PATH
#define CRL_DIR_PATH
Definition: cpp/client/credentials_test.cc:39
SERVER_CERT_PATH
#define SERVER_CERT_PATH
Definition: cpp/client/credentials_test.cc:37
ret
UniquePtr< SSL_SESSION > ret
Definition: ssl_x509.cc:1029
grpc_sts_credentials_options::requested_token_type
const char * requested_token_type
Definition: grpc_security.h:360
grpc.StatusCode.INVALID_ARGUMENT
tuple INVALID_ARGUMENT
Definition: src/python/grpcio/grpc/__init__.py:263
ok
bool ok
Definition: async_end2end_test.cc:197
grpc::testing::EXPECT_EQ
EXPECT_EQ(options.token_exchange_service_uri, "https://foo/exchange")
grpc::testing::TEST
TEST(StatsTest, IncCounters)
Definition: stats_test.cc:51
grpc::experimental::StsCredentialsOptions
Definition: include/grpcpp/security/credentials.h:299
grpc_sts_credentials_options::actor_token_type
const char * actor_token_type
Definition: grpc_security.h:364
grpc::testing::EXPECT_TRUE
EXPECT_TRUE(grpc::experimental::StsCredentialsOptionsFromJson(minimum_valid_json, &options) .ok())
grpc_sts_credentials_options::subject_token_type
const char * subject_token_type
Definition: grpc_security.h:362
testing::HasSubstr
PolymorphicMatcher< internal::HasSubstrMatcher< internal::string > > HasSubstr(const internal::string &substring)
Definition: cares/cares/test/gmock-1.8.0/gmock/gmock.h:8803
server_builder.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:00