diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-03 22:07:32 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-03 22:07:32 +0300 |
commit | 41b38d961803861ba302b61ab49772275de268d1 (patch) | |
tree | d306403d999d1b6fdd4f525f1cc860245364debb | |
parent | d561b9fed787b4b20025210f00db981f25f1ae50 (diff) |
Change rep-create certificate expiration warning threshold from 60 days to 1 year
-rw-r--r-- | bpkg/auth.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index d667c01..f7dec94 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -902,7 +902,7 @@ namespace bpkg using days = chrono::duration<size_t, ratio<3600 * 24>>; days left (chrono::duration_cast<days> (cert->end_date - now)); - if (left < days (60)) + if (left < days (365)) warn << "certificate for repository " << r << " expires in less than " << left.count () + 1 << " day(s)"; |