This is an automated email from the ASF dual-hosted git repository.

lahirujayathilake pushed a commit to branch ssh-certs
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git

commit 72d104c68276b179859d4f7a19aefa1197d90d94
Author: lahiruj <[email protected]>
AuthorDate: Thu Nov 12 19:16:31 2026 -0500

    Remove the unused CA rotation settings
---
 dev-ops/compose/signer/config.yaml                         |  3 ---
 extensions/SSH-Certificate-Signer/config.example.yaml      |  3 ---
 .../SSH-Certificate-Signer/internal/config/config.go       | 14 +-------------
 3 files changed, 1 insertion(+), 19 deletions(-)

diff --git a/dev-ops/compose/signer/config.yaml 
b/dev-ops/compose/signer/config.yaml
index c4d14f6aa..2742d025d 100644
--- a/dev-ops/compose/signer/config.yaml
+++ b/dev-ops/compose/signer/config.yaml
@@ -44,9 +44,6 @@ signer:
   login_port: 2222
   ca:
     create_if_missing: true
-    rotation:
-      period_hours: 2160
-      overlap_hours: 2
   policy:
     max_ttl_seconds: 86400
     allowed_key_types:
diff --git a/extensions/SSH-Certificate-Signer/config.example.yaml 
b/extensions/SSH-Certificate-Signer/config.example.yaml
index 123c1a2b8..22d156309 100644
--- a/extensions/SSH-Certificate-Signer/config.example.yaml
+++ b/extensions/SSH-Certificate-Signer/config.example.yaml
@@ -54,9 +54,6 @@ signer:
   login_port: 22
   ca:
     create_if_missing: false          # true creates a CA when none is stored.
-    rotation:
-      period_hours: 2160              # 90 days
-      overlap_hours: 2
   policy:
     max_ttl_seconds: 86400            # 24 hours
     allowed_key_types:
diff --git a/extensions/SSH-Certificate-Signer/internal/config/config.go 
b/extensions/SSH-Certificate-Signer/internal/config/config.go
index 2124439e8..195fa135d 100644
--- a/extensions/SSH-Certificate-Signer/internal/config/config.go
+++ b/extensions/SSH-Certificate-Signer/internal/config/config.go
@@ -74,13 +74,7 @@ type SignerConfig struct {
 }
 
 type CAConfig struct {
-       CreateIfMissing bool           `yaml:"create_if_missing"`
-       Rotation        RotationConfig `yaml:"rotation"`
-}
-
-type RotationConfig struct {
-       PeriodHours  int `yaml:"period_hours"`
-       OverlapHours int `yaml:"overlap_hours"`
+       CreateIfMissing bool `yaml:"create_if_missing"`
 }
 
 type PolicyConfig struct {
@@ -132,12 +126,6 @@ func DefaultConfig() *Config {
                Signer: SignerConfig{
                        ReservedUsernames: []string{"root"},
                        LoginPort:         22,
-                       CA: CAConfig{
-                               Rotation: RotationConfig{
-                                       PeriodHours:  2160,
-                                       OverlapHours: 2,
-                               },
-                       },
                        Policy: PolicyConfig{
                                MaxTTLSeconds:   86400,
                                AllowedKeyTypes: []string{"ed25519", "rsa", 
"ecdsa"},

Reply via email to