Skip to content

Commit

Permalink
Fix test one more time
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Feb 5, 2024
1 parent 6f0039a commit 17e4fa3
Showing 1 changed file with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,47 +9,46 @@ trait DidAccountStubSetup {
/** alice localhost 8080 (http + ws) in the new did peer format */
val alice =
DIDSubject(
// "did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwIiwiciI6W10sImEiOlsiZGlkY29tbS92MiJdfQ"
"did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MCIsImFjY2VwdCI6WyJkaWRjb21tL3YyIl19fQ"
"did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MCIsImEiOlsiZGlkY29tbS92MiJdfX0"
)

/** bob (https://bob.did.fmgp.app/) in the new did peer format */
val bob =
DIDSubject(
"did:peer:2.Ez6LSkGy3e2z54uP4U9HyXJXRpaF2ytsnTuVgh6SNNmCyGZQZ.Vz6Mkjdwvf9hWc6ibZndW9B97si92DSk9hWAhGYBgP9kUFk8Z.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHBzOi8vYm9iLmRpZC5mbWdwLmFwcC8iLCJhY2NlcHQ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k9hWAhGYBgP9kUFk8Z.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHBzOi8vYm9iLmRpZC5mbWdwLmFwcC8iLCJhIjpbImRpZGNvbW0vdjIiXX19#key-1"
| }
| }
| ],
| "tag" : "XIBPc7lj5kei7kAxRTkOc7KO3gQVzs3MPPtDbljsQOo",
| "iv" : "8NWSlttH8-2cCIIZJgZleA"
| "tag" : "uRH0gB3-fGvyqMulg9L9JbIVt4AIaeBJxRYhzuyhUlo",
| "iv" : "G8MpH-4mTlA3s59nBmnfkw"
|}""".stripMargin.fromJson[EncryptedMessage]

val encryptedMessageBob: Either[String, EncryptedMessage] =
"""{
| "ciphertext" : "lahbV-XQWDkAOMC5S5MWjkkOn8uLgAHiQSUu-J9xRStI423jhlLQ7rF0mS1QVxEISDAGjas1f3xi12T7-BSyPWC87IlaAZLYaGB9SzVIooZb0Ciaw76UvrZQWzJc3K41PPeQ7zJMXriGj9FXdmbNBYWkfhv9mjUhV9SSDUvwV3JyvvAREubGQ1Ol6Oo6o_e2_fq-WTr4-p_k9Yp-cDcvZajSuVjm1Y4xfqDhEh5d6D5_HlOfFUWaruZ0r5JbYnjJqqHAvYvAhhU1IsELUV1-qk4YdXQL6vNG7WItFgQzwkAoGTbt4zWMY5zrYY5WeixFoqCQ5xATtpZKDccCQd7fZNk0R-KdADDy5fWecCQw9YSfyCdAIo7Ui1jUW3s8k9-O1oU0RJC2lpTRzCvu08Pqyp9zJLOO-0hJC3fyWYOXc6F66fHkmDQoDZNrJEzFfAnTV5w9eCYWDKOcnaUX1WmnxiABtoON_bUxYgxDsRIPa8mEV1H3QJvLMEawwTkKvkLPcP-tNgYtIOiCAmCKF55JI9UbZketgrk4Mrs-T6u4PtUlB4zrDBiqxawqGTUZhRIrrHFnBzLqPYQmyCFJ_CEL_1FvfBrkMVdp0zl0z91kq5IOu2guYvFwQ_3beBqjOpkCDAvw0XG5MdJDBfgZnOOWAivaMxE0uze_msax2hot37ejsfG49UYOUtzcDC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tSFM1MTIiLCJhbGciOiJFQ0RILTFQVStBMjU2S1cifQ",
| "recipients" : [
| {
| "encrypted_key" : "jb8B7Gf_0kQTlvoRJrYJpUzQgYjGUvdheVof0LVP820uXWg9jD814uy-JM-pZ_AeVq8klGxVKsnrw4ft7p6QhCZdPR-0UBaQ",
| "encrypted_key" : "CtMxsvs8c2WefiEqs83jTSVNekUhtbiddZTxRaMAc_wDgJ-ZmllZn63six7HvfkHQE25W8IyS-jCHdsaIa09xPqr4R7SzXCe",
| "header" : {
| "kid" : "did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MCIsImFjY2VwdCI6WyJkaWRjb21tL3YyIl19fQ.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6IndzOi8vbG9jYWxob3N0OjgwODAvd3MiLCJhY2NlcHQiOlsiZGlkY29tbS92MiJdfX0#key-1"
| "kid" : "did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MCIsImEiOlsiZGlkY29tbS92MiJdfX0.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6IndzOi8vbG9jYWxob3N0OjgwODAvd3MiLCJhIjpbImRpZGNvbW0vdjIiXX19#key-1"
| }
| }
| ],
| "tag" : "0VIzpDzE35C4ZzhoTvkRCl4FKktfZlinMGdg4AJRJtM",
| "iv" : "g12dLrB50zLYGmvBX6WN8w"
| "tag" : "PBWjww23CnAmuE-y-LxDMErye0mo5lO72Ox9d4vxzHA",
| "iv" : "5p68gZa0ZPaWDG7OCnI8nQ"
|}""".stripMargin.fromJson[EncryptedMessage]

}

0 comments on commit 17e4fa3

Please sign in to comment.