From 2b065dd68da805cc974eaba0f43ca92ad6c55781 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 25 May 2024 08:32:00 +0530 Subject: [PATCH 1/4] yarn pretty --- .../docs/auth/migration-guides/steam/index.md | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/docs/auth/migration-guides/steam/index.md b/docs/docs/auth/migration-guides/steam/index.md index ea2ebf5dd4..367e609e85 100644 --- a/docs/docs/auth/migration-guides/steam/index.md +++ b/docs/docs/auth/migration-guides/steam/index.md @@ -9,21 +9,27 @@ A guide written by an ente.io lover > [!WARNING] > -> Steam Authenticator code is only supported after auth-v3.0.3, check the app's version number before migration +> Steam Authenticator code is only supported after auth-v3.0.3, check the app's +> version number before migration One way to migrate is to [use this tool by dyc3](https://github.com/dyc3/steamguard-cli/releases/latest) -to simplify the process and skip directly to generating a qr code to Ente Authenticator. +to simplify the process and skip directly to generating a qr code to Ente +Authenticator. ## Download/Install steamguard-cli ### Windows 1. Download `steamguard.exe` from the [releases page][releases]. -2. Place `steamguard.exe` in a folder of your choice. For this example, we will use `%USERPROFILE%\Desktop`. -3. Open Powershell or Command Prompt. The prompt should be at `%USERPROFILE%` (eg. `C:\Users\`). -4. Use `cd` to change directory into the folder where you placed `steamguard.exe`. For this example, it would be `cd Desktop`. -5. You should now be able to run `steamguard.exe` by typing `.\steamguard.exe --help` and pressing enter. +2. Place `steamguard.exe` in a folder of your choice. For this example, we will + use `%USERPROFILE%\Desktop`. +3. Open Powershell or Command Prompt. The prompt should be at `%USERPROFILE%` + (eg. `C:\Users\`). +4. Use `cd` to change directory into the folder where you placed + `steamguard.exe`. For this example, it would be `cd Desktop`. +5. You should now be able to run `steamguard.exe` by typing + `.\steamguard.exe --help` and pressing enter. ### Linux @@ -31,6 +37,7 @@ to simplify the process and skip directly to generating a qr code to Ente Authen 1. Download the `.deb` from the [releases page][releases]. 2. Open a terminal and run this to install it: + ```bash sudo dpkg -i ./steamguard-cli__amd64.deb ``` @@ -38,12 +45,16 @@ sudo dpkg -i ./steamguard-cli__amd64.deb #### Other Linux 1. Download `steamguard` from the [releases page][releases] -2. Make it executable, and move `steamguard` to `/usr/local/bin` or any other directory in your `$PATH`. +2. Make it executable, and move `steamguard` to `/usr/local/bin` or any other + directory in your `$PATH`. + ```bash chmod +x ./steamguard sudo mv ./steamguard /usr/local/bin ``` -3. You should now be able to run `steamguard` by typing `steamguard --help` and pressing enter. + +3. You should now be able to run `steamguard` by typing `steamguard --help` and + pressing enter. ## Login to Steam account @@ -62,6 +73,7 @@ steamguard qr # print QR code for the first account in your maFiles steamguard -u qr # print QR code for a specific account ``` -Open Ente Auth, press the '+' button, select `Scan a QR code`, and scan the qr code. +Open Ente Auth, press the '+' button, select `Scan a QR code`, and scan the qr +code. You should now have your steam code inside Ente Auth From f7ca838428b552f28d09040550ac0375ecebb6c0 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 25 May 2024 08:33:51 +0530 Subject: [PATCH 2/4] Add to sidebar --- docs/docs/.vitepress/sidebar.ts | 4 ++++ docs/docs/auth/migration-guides/index.md | 1 + docs/docs/auth/migration-guides/steam/index.md | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.ts index 84ae5e0fa8..ef7ee47c4a 100644 --- a/docs/docs/.vitepress/sidebar.ts +++ b/docs/docs/.vitepress/sidebar.ts @@ -163,6 +163,10 @@ export const sidebar = [ text: "From Authy", link: "/auth/migration-guides/authy/", }, + { + text: "From Steam", + link: "/auth/migration-guides/steam/", + }, { text: "Exporting your data", link: "/auth/migration-guides/export", diff --git a/docs/docs/auth/migration-guides/index.md b/docs/docs/auth/migration-guides/index.md index f10d9db415..3fb638ca1e 100644 --- a/docs/docs/auth/migration-guides/index.md +++ b/docs/docs/auth/migration-guides/index.md @@ -7,4 +7,5 @@ description: # Migrating to/from Ente Auth - [Migrating from Authy](authy/) +- [Importing codes from Steam](steam/) - [Exporting your data out of Ente Auth](export) diff --git a/docs/docs/auth/migration-guides/steam/index.md b/docs/docs/auth/migration-guides/steam/index.md index 367e609e85..acb1f77aa5 100644 --- a/docs/docs/auth/migration-guides/steam/index.md +++ b/docs/docs/auth/migration-guides/steam/index.md @@ -10,7 +10,7 @@ A guide written by an ente.io lover > [!WARNING] > > Steam Authenticator code is only supported after auth-v3.0.3, check the app's -> version number before migration +> version number before migration. One way to migrate is to [use this tool by dyc3](https://github.com/dyc3/steamguard-cli/releases/latest) From 6a1f5945b9957191cd5f601a2d882d5136667f30 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 25 May 2024 08:34:36 +0530 Subject: [PATCH 3/4] pretty --- docs/docs/self-hosting/guides/configuring-s3.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/docs/self-hosting/guides/configuring-s3.md b/docs/docs/self-hosting/guides/configuring-s3.md index 41230078ca..0ea93f75e4 100644 --- a/docs/docs/self-hosting/guides/configuring-s3.md +++ b/docs/docs/self-hosting/guides/configuring-s3.md @@ -92,10 +92,9 @@ To fix these, you should ensure the following: 1. The bucket CORS rules do not allow museum to access these objects. > For viewing the uploaded files from the browser, you will need to - > currently set allowedOrigins to "*", and allow the "X-Auth-Token", - > "X-Client-Package" headers configuration too. [Here is an example of a - > working - > configuration](https://github.com/ente-io/ente/discussions/1764#discussioncomment-9478204). + > currently set allowedOrigins to "\*", and allow the "X-Auth-Token", + > "X-Client-Package" headers configuration too. + > [Here is an example of a working configuration](https://github.com/ente-io/ente/discussions/1764#discussioncomment-9478204). 2. The credentials are not being picked up (you might be setting the correct creds, but not in the place where museum picks them from). From 90db45d8450220e77d972569b665fb3c4185e5fa Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 25 May 2024 08:35:22 +0530 Subject: [PATCH 4/4] uploading --- docs/docs/self-hosting/guides/configuring-s3.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/self-hosting/guides/configuring-s3.md b/docs/docs/self-hosting/guides/configuring-s3.md index 0ea93f75e4..56e922f02d 100644 --- a/docs/docs/self-hosting/guides/configuring-s3.md +++ b/docs/docs/self-hosting/guides/configuring-s3.md @@ -91,9 +91,9 @@ To fix these, you should ensure the following: 1. The bucket CORS rules do not allow museum to access these objects. - > For viewing the uploaded files from the browser, you will need to - > currently set allowedOrigins to "\*", and allow the "X-Auth-Token", - > "X-Client-Package" headers configuration too. + > For uploading files from the browser, you will need to currently set + > allowedOrigins to "\*", and allow the "X-Auth-Token", "X-Client-Package" + > headers configuration too. > [Here is an example of a working configuration](https://github.com/ente-io/ente/discussions/1764#discussioncomment-9478204). 2. The credentials are not being picked up (you might be setting the correct