#Open .key file generated from tauri signer generate

15 messages ยท Page 1 of 1 (latest)

cloud wedge
#

I'm testing the Updater and doing the initial setup, started by executing:

yarn tauri signer generate -w ~/.tauri/myapp.key

I can see the files and I'm trying to open the .key file but Keynote is saying is invalid file, also tried some convertors from .key -> .pdf but they didn't manage to process it as well, so might be super dumb to ask this haha but how to open the .key file

austere harbor
#

The key is just a plain text file

#

E.g. this (just generated it just to show, it goes nowhere and does nothing)

dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5RTlsMHlUZk1ua3NjMmlIZkpEaDF2QkV6VzFIeFlYY3RjRlpaQ2o5RlROOEFBQkFBQUFBQUFBQUFBQUlBQUFBQTRicXRYbVVyaWloTEo5MGlTTEdSeUV3SWV3QWc3aGp5QStMcmpBbVZRR3VRY010UG9NQjQ5L09TZ2x0WW13b3lqbk52WHVFenZ5Z3V2VnpXcXg0cDNQc28xMnJ4K3p3akpieTNmeVh3citScWRFZFh0eWppTjBUenJWMXlZZXV3d2cwRWVyU2Qwa2M9Cg==
#

You should be able to open it with for example Notepad

#

Though one might question why you're trying to open it in the first place

cloud wedge
#

or this is a different private key

austere harbor
#

Ah then yea makes sense you'd want the contents x)
But yea just open it in Notepad or any other regular text editor

#

Also never convert your .key to .pdf or any other format that you might accidentally send somewhere ๐Ÿ˜‚ Like, even storing it in something like Google Drive is a bit of a no-no

cloud wedge
#

Yeah i agree 100% bro just for testing purposes thats all ๐Ÿ˜„

#

I mean public is fine tho but for the private you are completely right ๐Ÿ˜„

austere harbor
#

The public key you can send wherever, you can send it on the discord if you wanna, but the private key should be treated as a state secret

#

Yea ๐Ÿ˜„

cloud wedge
#

Hey can i ask a little bit more about the Updater.

Currently I'm using this: https://tauri.app/v1/guides/building/cross-platform#example-workflow

github action to release, how is exactly this one combined with Updater?

Asking because in Updater section we do have tauri build but as we know this one build just for the used env for example m1 and nothing for windows and linux

drowsy locust
#

Asking because in Updater section we do have tauri build but as we know this one build just for the used env for example m1 and nothing for windows and linux
That's correct, which is why the action uses a platform matrix to build on all 3 platforms.