18 Dec 2022 |
dasj19 | and i checked and they match | 22:07:47 |
ryantm | You can also look at the top of the encrypted file in a text editor and see if it has the same public key. | 22:08:28 |
dasj19 | ok, i'll try that | 22:08:54 |
ryantm | oh, perhaps it is in some weird format that is hard to compare though. | 22:09:18 |
ryantm | You can also pass -i to agenix to specify which key to try to decrypt with. | 22:10:02 |
dasj19 | this works (at least gets me in nano with the secret editable) "agenix -i /home/daniel/.ssh/id_rsa -e daniel-password.age" | 22:11:38 |
ryantm | Maybe your key is not at $HOME/.ssh/id_rsa | 22:14:09 |
ryantm | Oh, you just said the path sorry. | 22:14:55 |
dasj19 | can you hash 123456 for me to try? | 22:15:17 |
ryantm | It will be different every time: | 22:15:53 |