DiscordChatExporter/DiscordChatExporter.Gui
Copilot eef0fc742d
Encrypt Discord token at rest in settings file (machine-bound) (#1491)
* Initial plan

* Add token encryption when saving/loading settings

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Apply suggestion from @Tyrrrz

* Apply suggestion from @Tyrrrz

* Bind token encryption key to machine identity

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Switch to AES-GCM, hex encoding, and GetBytes/Fill improvements

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Address all review feedback: salt injection, code style, localization formatting

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Address latest review: ThisAssembly.Project, EnvironmentExtensions, inline Lazy, renames, localization wording

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Address latest review: layout comment, cipherSource, else block, MachineName fallback, csproj ordering

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Apply suggestion from @Tyrrrz

* Rename GetMachineId→TryGetMachineId, refactor Write to use single array with FillBytes

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Rename cipherSource→cipher in Read(), tokenBytes→tokenData in Write(), update layout comments

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Add cipherSource variable in Write(), update layout comment with size annotation

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Fix CSharpier formatting: inline multiline string assignments and reformat exception filter

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Quote EncryptionSalt argument to handle single quotes in secret value

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Revert double-quote fix on EncryptionSalt argument

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>

* Apply suggestion from @Tyrrrz

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-27 14:01:25 +02:00
..
Converters Fix alingment issues when dealing with inlines 2026-02-24 21:05:03 +02:00
Framework Fix second dialog not appearing when dialogs are shown sequentially (#1481) 2026-02-23 07:32:56 +02:00
Localization Encrypt Discord token at rest in settings file (machine-bound) (#1491) 2026-02-27 14:01:25 +02:00
Models Format stuff 2024-10-26 21:41:16 +03:00
Services Encrypt Discord token at rest in settings file (machine-bound) (#1491) 2026-02-27 14:01:25 +02:00
Utils Encrypt Discord token at rest in settings file (machine-bound) (#1491) 2026-02-27 14:01:25 +02:00
ViewModels Add option to reverse message order in exports (#1487) 2026-02-26 21:14:57 +02:00
Views Add option to reverse message order in exports (#1487) 2026-02-26 21:14:57 +02:00
App.axaml Set application name to fix macOS app menu title (#1405) 2025-06-26 00:35:32 +03:00
App.axaml.cs Add localization (#1482) 2026-02-24 20:49:32 +02:00
DiscordChatExporter.Gui.csproj Encrypt Discord token at rest in settings file (machine-bound) (#1491) 2026-02-27 14:01:25 +02:00
Program.cs Warn when using development build (#1248) 2024-06-01 00:58:24 +03:00
Publish-MacOSBundle.ps1 $ErrorActionPreference 2025-05-11 01:33:43 +03:00