diff --git a/doc/dev/architecture.md b/doc/dev/architecture.md new file mode 100644 index 0000000..e69de29 diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/application/InitService.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/application/InitService.kt new file mode 100644 index 0000000..8996dea --- /dev/null +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/application/InitService.kt @@ -0,0 +1,9 @@ +package org.domaindrivenarchitecture.provs.desktop.application + +import org.domaindrivenarchitecture.provs.desktop.domain.GitTrust + +class InitService { + fun init():List { + + } +} \ No newline at end of file diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/domain/GitTrust.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/domain/GitTrust.kt new file mode 100644 index 0000000..e8dda21 --- /dev/null +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/domain/GitTrust.kt @@ -0,0 +1,20 @@ +package org.domaindrivenarchitecture.provs.desktop.domain + +class GitTrusts(val trusts: List) { + constructor():this(listOf( + GitTrust("github.com", setOf( + "SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s github.com", // (RSA) + "SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM github.com", // (ECDSA) + "SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU github.com" // (Ed25519) + )), + GitTrust("gitlab.com", setOf( + "gitlab.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfuCHKVTjquxvt6CM6tdG4SLp1Btn/nOeHHE5UOzRdf", + "gitlab.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsj2bNKTBSpIYDEGk9KxsGh3mySTRgMtXL583qmBpzeQ+jqCMRgBqB98u3z++J1sKlXHWfM9dyhSevkMwSbhoR8XIq/U0tCNyokEi/ueaBMCvbcTHhO7FcwzY92WK4Yt0aGROY5qX2UKSeOvuP4D6TPqKF1onrSzH9bx9XUf2lEdWT/ia1NEKjunUqu1xOB/StKDHMoX4/OKyIzuS0q/T1zOATthvasJFoPrAjkohTyaDUz2LN5JoH839hViyEG82yB+MjcFV5MU3N1l1QL3cVUCh93xSaua1N85qivl+siMkPGbO5xR/En4iEY6K2XPASUEMaieWVNTRCtJ4S8H+9", + "gitlab.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFSMqzJeV9rUzU4kWitGjeR4PWSa29SPqJ1fVkhtj3Hw9xjLVXVYrU9QlYWrOLXBpQ6KWjbjTDTdDkoohFzgbEY=", + )) + )) {} +} + +class GitTrust(hostName: String, fingerprints: Set) { + +} \ No newline at end of file