-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: Remove Dots And Dashes From Namespaces When Resolving Filenames
Why This Change Is Necessary ======================================================================== Previously dots and dashes were not removed from the namespaces when looking up the filenames for keys. This meant that when looking up filenames for those namespaces, the per-namespace keys were not resolving correctly. How These Changes Address the Issue ======================================================================== This change removes dots and dashes from the namespaces when looking up key filenames. We also alter the script that generates key pairs so that it removes dots and dashes from the filenames it generates. Caveat ======================================================================== It's important to note that this _only_ applies to looking up the key filename. Inside the YAML files, dots and dashes are valid characters and will be used when finding namespaced settings. With a namespace of `example-host.com`, the private key filename would be `.chamber.examplehostcom.pem`, however in the YAML file, you would still do: ```yaml example-host.com: my_setting: 'hello' ``` Side Effects Caused By This Change ======================================================================== Anyone relying on the erroneous functionality will break. ------------------------------------------------------------------------ Actions: * References #56
- Loading branch information
Showing
8 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
example-host.com encrypted private key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
example-host.com private key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
example-host.com public key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters