-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portability on Windows #591
Conversation
patches/ungoogled-chromium/windows/windows-disable-machine-id.patch
Outdated
Show resolved
Hide resolved
Looking good, but a couple questions:
|
|
patches/ungoogled-chromium/windows/windows-disable-machine-id.patch
Outdated
Show resolved
Hide resolved
BTW on Windows, does Chromium store credentials internally in the user data directory by default? Or is there a credential storage mechanism that Chromium uses? I'm trying to understand why passwords are included in the encryption. |
@Eloston Passwords are stored in the user data directory in a sqlite database called BEGIN TRANSACTION;
CREATE TABLE stats (origin_domain VARCHAR NOT NULL, username_value VARCHAR, dismissal_count INTEGER, update_time INTEGER NOT NULL, UNIQUE(origin_domain, username_value));
CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR);
CREATE TABLE logins (origin_url VARCHAR NOT NULL, action_url VARCHAR, username_element VARCHAR, username_value VARCHAR, password_element VARCHAR, password_value BLOB, submit_element VARCHAR, signon_realm VARCHAR NOT NULL, preferred INTEGER NOT NULL, date_created INTEGER NOT NULL, blacklisted_by_user INTEGER NOT NULL, scheme INTEGER NOT NULL, password_type INTEGER, times_used INTEGER, form_data BLOB, date_synced INTEGER, display_name VARCHAR, icon_url VARCHAR, federation_url VARCHAR, skip_zero_click INTEGER, generation_upload_status INTEGER, possible_username_pairs BLOB, UNIQUE (origin_url, username_element, username_value, password_element, signon_realm));
CREATE INDEX stats_origin ON stats(origin_domain);
CREATE INDEX logins_signon ON logins (signon_realm);
COMMIT; |
And Chromium uses CryptProtectData to encrypt passwords in the |
I see, it kinda sucks that the Windows version doesn't use a credentials storage. Thanks for the info. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
@crazy-max |
请问这两个参数现在还支持最新的chrome吗? |
Thank you for this patch. Works great with 76.0.3809.100. |
Hi @Eloston, Looks like the patches for portability on Windows have been removed? |
@crazy-max This was merged before the fragmentation refactor (i.e. before platform repos were created). They now live in here: https://github.com/ungoogled-software/ungoogled-chromium-windows/tree/master/patches/ungoogled-chromium/windows |
@Eloston Perfect thanks |
Why appdata/local/chromium is not stored just beside chromium.exe to be really portable?? |
@Eloston @crazy-max I have a question I want to transfer my "user data" profile (from my Windows desktop) to my Windows laptop without having to reinstall all my extensions and configure their settings. There is also unpacked customized extensions in dev mode that I want to transfer too (they are inside a specific sub-folder inside the "user data" folder. Of course I want to keep all the custom settings and flags related to the browser. My question is: **How I can transfer all my extensions (packed/unpacked with their settings) + the browser/flags settings with the I'm not sure of the right procedure since my extensions were installed without the " Regards |
Do we also lose history, settings, extensions and bookmarks even when we update/upgrade ungoogled-chromium on the same machine on Windows??? Because that's what happened to me right now. |
Do these switches still work with the current version of Chromium? I tried using them on Vivaldi, and they didn't seem to function. |
@mavorse Apparently it's |
According to https://github.com/ungoogled-software/ungoogled-chromium-windows/blob/master/patches/ungoogled-chromium/windows/windows-disable-encryption.patch, the switch should still be just |
This isn't a change by macchrome, I know that for sure (see the issue I linked). That being said, I myself didn't have any success using |
Ha! I knew it! Thanks for checking this and sorry for paying forward false information. I'll report back to those who think it worked. |
I just saw this patch related to the issue: Alex313031/thorium@1ac0e00 |
Fyi if you reaaally want its possible to export dpapi keys and also resign chrome/chromiums securepreferences. |
Also the issue with the current patches is if you ever accidentally run the exe without having those cli flags set, it'll wipe out the existing settings. ie #668 |
@AJolly Please file proper issues into Windows repository if you think those issues are a significant ones. |
Closes #444
About
The purpose of this PR is to allow the portability of Chromium on Windows with the addition of two new switches :
disable-machine-id
: Allows disabling the machine ID generation on Windows.disable-encryption
: Allows disabling encryption of cookies, passwords, settings. Should be ONLY used if your hard drive is encrypted or if you know what you are doing 🙃This allows the portability of everything, except certificates.
Related threads :
Test
disable-machine-id
--disable-machine-id
disable-encryption
--disable-encryption
use both switches