Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Branislav Náter
6ef360f9c1 Compress consecutive spaces 2023-06-07 14:22:42 +02:00
Stephen Gallagher
10a3d28457
Test expiration by days rather than a year
It currently breaks if a leap day occurs within the next year.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-06-01 10:37:02 -04:00
Branislav Náter
93fbe759fd adding root contact, tier3 -> tier2 change 2022-04-20 09:58:23 +02:00
4 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,6 @@
summary: Ability to generate 3072 bit keys
description: |
Bug summary: Ability to generate 3072 bit keys
contact: Branislav Náter <bnater@redhat.com>
component:
- sscg
test: ./runtest.sh

View file

@ -10,8 +10,8 @@ recommend:
duration: 5m
enabled: true
tag:
- Tier3
tier: '3'
- Tier2
tier: '2'
link:
- relates: https://bugzilla.redhat.com/show_bug.cgi?id=2017667
extra-nitrate: TC#0612550

View file

@ -44,9 +44,9 @@ rlJournalStart
rlLogInfo "Get current date +1 year"
# It might happend date we get time a bit later so we will compare
# certificate date with two values
date +'notAfter=%b %-d %H:%M:%S %Y GMT' --utc --date='1 year' > output.txt
date +'notAfter=%b %-d %H:%M:%S %Y GMT' --utc --date='1 year - 1 second' >> output.txt
cert_end_date=$(openssl x509 -enddate -noout < service.pem)
date +'notAfter=%b %-d %H:%M:%S %Y GMT' --utc --date='365 days' > output.txt
date +'notAfter=%b %-d %H:%M:%S %Y GMT' --utc --date='365 days - 1 second' >> output.txt
cert_end_date=$(openssl x509 -enddate -noout < service.pem | tr -s ' ')
rlRun "echo $cert_end_date" 0 "Certificate end date"
rlRun "cat output.txt" 0 "Generated dates"
# dates should match

2
main.fmf Normal file
View file

@ -0,0 +1,2 @@
# QE owner
contact: Branislav Náter <bnater@redhat.com>