Skip to content

Commit 3eac13d

Browse files
committed
fixing key setup
1 parent d33de01 commit 3eac13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackinator/mirror.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ def _key_setup(self, key_store: pathlib.Path):
159159
"""Validate mirror keys, relocate to key_store, and update mirror config with new key paths."""
160160

161161
for mirror in self.mirrors:
162-
if mirror["key"]:
163-
key = mirror["key"]
162+
if mirror["public_key"]:
163+
key = mirror["public_key"]
164164

165165
# key will be saved under key_store/mirror_name.gpg
166166
dest = (key_store / f"'{mirror["name"]}'.gpg").resolve()

0 commit comments

Comments
 (0)