Refactor snapshot files

This commit is contained in:
9seconds
2021-03-24 09:22:28 +03:00
parent 933855a233
commit 3076c52adb
11 changed files with 1 additions and 105 deletions
@@ -17,7 +17,7 @@ type ClientHandshakeTestSuite struct {
} }
func (suite *ClientHandshakeTestSuite) SetupSuite() { func (suite *ClientHandshakeTestSuite) SetupSuite() {
suite.NoError(suite.IngestSnapshots("client_snapshots", "snapshot-ok-")) suite.NoError(suite.IngestSnapshots(".", "client-handshake-snapshot-"))
} }
func (suite *ClientHandshakeTestSuite) TestCannotRead() { func (suite *ClientHandshakeTestSuite) TestCannotRead() {
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "ZEZY1K3SZZgHX2MgMeYMMVoIPYR6eP+bgKxjI7IHl6sPLhfH2jRitS7/VA6Kz8E2L+uLqVom7x4zO+D5Q5iARA",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "WptF2u4ZSDMZxQ"
},
"decrypted": {
"text": "DT+Ob9yGWA",
"cipher": "YWJjZGVmZw"
}
}
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "/rbO1fCVLR7o28nrc9inrdDU+4Z4uOqbC2kMnNnzItv0fJmn4hcUXK6YBJQZVI01i7rFlgiCtTgrHtyfQp9p9w",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "jKZzALBemf72Cw"
},
"decrypted": {
"text": "fMOlRiN20A",
"cipher": "YWJjZGVmZw"
}
}
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "SfqaPWt1F8WTfrTkTl06s7F1nUcBR6AUp5uniCcYpVCJvgYpOO3TQHUZbLaFbI5qYRjJBQDe9OpXDJjR/5z4lg",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "0DtHeQPN2bv7Qw"
},
"decrypted": {
"text": "BWPiYKe4bA",
"cipher": "YWJjZGVmZw"
}
}
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "MF6BfhvxyI61vFHZN/ecrDF1sZux/JdgVjKX1Yzy7SmBhYu+8bS25ta8iFsj/4y2moBpeNFp7rqekCE3FRb29A",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "MujITanGx9xf9g"
},
"decrypted": {
"text": "0xVTx0JKug",
"cipher": "YWJjZGVmZw"
}
}
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "YY3y0amcDqggxeNbnyyacKl++b3Q7X0XL9coxctXxJOYZQ/uXIaWFm1KD3s0VIKQ6C7NqJ8hnnJOcpp2Bdau6A",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "mni7eHb24tufLQ"
},
"decrypted": {
"text": "Aqi/2cgHXA",
"cipher": "YWJjZGVmZw"
}
}
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "k0f9Sv7V7svvxmHlIP4Ajg0sTGb0NXHfJDk1h6VgAnV0my1F+NU8KPG35kqXC9IDQZK/6fOABb7npO8/TCHEzQ",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "efUzYxRvqEYPlw"
},
"decrypted": {
"text": "FFPwzZkL2A",
"cipher": "YWJjZGVmZw"
}
}
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "NiK5AnDAJw+fsytYBnxOmcDl6jx3uQECznBS4WIaHXGWP0tcioPikE1mVtkp33aXT7bCfFlst+b0PvcldGSARw",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "56aF+oauHVDbPQ"
},
"decrypted": {
"text": "KycK+00LvQ",
"cipher": "YWJjZGVmZw"
}
}
@@ -1,13 +0,0 @@
{
"secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
"frame": "nYvAavvf0TywZ4hkfGEgf6ZmnIUsDWjRKzLktqF65D+3ha/LqViPdpvsexguXBd5HClDaY6YNXjb1TbjWWfYGQ",
"dc": 1,
"encrypted": {
"text": "AQIDBAUGBwgJCg",
"cipher": "t4GyXOdaa/phBw"
},
"decrypted": {
"text": "lWNj5kAaug",
"cipher": "YWJjZGVmZw"
}
}