From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
#::done</pre> | #::done</pre> | ||
|results= | |results= | ||
# | # Connecting without problems | ||
}} | }} |
Revision as of 14:40, 29 March 2017
Description
Connecting with FUTURE profile to common websites
How to test
It would be great if you could try connecting to sites that you normally connect to, but I understand if you have privacy concerns.
- TODO provide default file
- Firefox - get really visited sites
- Export https sites from history
- for f in $(find ~/.mozilla/firefox/ -name places.sqlite); do
- sqlite3 $f 'select distinct substr(replace(url, "https://", ""), 0, instr(replace(url, "https://", ""), "/")) from moz_places where url like "https://%";' >>sites.txt
- done
- Alternatively/additionally, get https sites from bookmarks (Bookmarks -> Show All Bookmarks -> Import and Backup -> Export Bookmarks to HTML)
- cat bookmarks.html |grep -io 'href="https://[^ ]*' |cut -d\" -f2 |sed 's|https://\([^/]*\).*|\1|' >>sites.txt
- Export https sites from history
- Chrome - get really visited sites
- Export https sites from history
- for f in $(find ~/.config/ -name History); do
- cp -f $f ./tmp.db && \
- sqlite3 tmp.db 'select distinct substr(replace(url, "https://", ""), 0, instr(replace(url, "https://", ""), "/")) from urls where url like "https://%";' >>sites.txt
- done
- Alternatively/additionally, get https sites from bookmarks (Bookmarks -> Bookmark manager -> Organize -> Export bookmarks to HTML file...)
- cat bookmarks.html |grep -io 'href="https://[^ ]*' |cut -d\" -f2 |sed 's|https://\([^/]*\).*|\1|' >>sites.txt
- Export https sites from history
- Filter possible duplicates
- cat sites.txt |sort |uniq >sites.new; mv -f sites.new sites.txt
- Try connecting to these sites with FUTURE profile
- update-crypto-policies --set FUTURE
- for site in $(cat sites.txt); do
- wget -O - -q https://$site >/dev/null || echo "FAIL wget $site"
- curl -s https://$site >/dev/null || echo "FAIL curl $site"
- done
Expected Results
- Connecting without problems