nixVersions.stable: 2.15 -> 2.17
[NixPkgs.git] / nixos / tests / ssh-keys.nix
blobdf9ff38a3b22a8be6516c1d26f4d612636a4c5a8
1 pkgs:
2 { snakeOilPrivateKey = pkgs.writeText "privkey.snakeoil" ''
3     -----BEGIN EC PRIVATE KEY-----
4     MHcCAQEEIHQf/khLvYrQ8IOika5yqtWvI0oquHlpRLTZiJy5dRJmoAoGCCqGSM49
5     AwEHoUQDQgAEKF0DYGbBwbj06tA3fd/+yP44cvmwmHBWXZCKbS+RQlAKvLXMWkpN
6     r1lwMyJZoSGgBHoUahoYjTh9/sJL7XLJtA==
7     -----END EC PRIVATE KEY-----
8   '';
10   snakeOilPublicKey = pkgs.lib.concatStrings [
11     "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHA"
12     "yNTYAAABBBChdA2BmwcG49OrQN33f/sj+OHL5sJhwVl2Qim0vkUJQCry1zFpKTa"
13     "9ZcDMiWaEhoAR6FGoaGI04ff7CS+1yybQ= snakeoil"
14   ];