[{"data":1,"prerenderedAt":870},["ShallowReactive",2],{"doc-\u002Fdocs\u002Fhelp\u002Fsecurity-guide":3,"docs-nav":755},{"id":4,"title":5,"body":6,"description":745,"extension":746,"meta":747,"modified":748,"navigation":749,"path":751,"seo":752,"stem":753,"__hash__":754},"docs\u002Fdocs\u002Fhelp\u002Fsecurity-guide.md","Things You Should Know (Security Guide)",{"type":7,"value":8,"toc":727},"minimark",[9,14,18,21,26,45,48,51,55,67,70,73,85,96,99,101,105,114,117,124,127,152,155,162,169,171,175,178,198,221,229,236,238,242,245,256,258,262,265,284,289,299,302,305,307,311,314,317,328,331,334,336,340,348,351,404,407,410,412,416,419,433,436,440,472,476,520,548,622,654,715],[10,11,13],"h1",{"id":12},"things-you-should-know","Things You Should Know",[15,16,17],"p",{},"Quark keeps your files on hardware you own. That is not the same as \"impossible to lose.\" This page is the short list\nof things every owner should actually do.",[15,19,20],{},"None of it is scary. You have already done most of it for other important things in your life.",[22,23,25],"h2",{"id":24},"the-short-version","The short version",[27,28,29,33,36,39,42],"ol",{},[30,31,32],"li",{},"Keep your Quark password and your recovery phrase written down, with your important papers.",[30,34,35],{},"Copy the things you can't replace to a backup drive, and keep one copy out of the house.",[30,37,38],{},"Use WPA2 or WPA3 on your WiFi.",[30,40,41],{},"Turn on remote access only if your household needs it.",[30,43,44],{},"Tell someone you trust how to get in if you can't.",[15,46,47],{},"The rest of this page explains each one.",[49,50],"hr",{},[22,52,54],{"id":53},"your-password-and-recovery-phrase","Your password and recovery phrase",[15,56,57,58,62,63,66],{},"Each person on your Quark has their own account, with their own password. When the account was made, Quark also showed\na ",[59,60,61],"strong",{},"recovery phrase",": a list of words that lets you set a new password if you forget the old one. You use it from\n",[59,64,65],{},"Forgot password"," on the sign-in screen.",[15,68,69],{},"Nobody else can reset your password for you, an admin included. So the phrase matters. Write it on paper and keep it\nsomewhere safe.",[15,71,72],{},"A good password is:",[74,75,76,79,82],"ul",{},[30,77,78],{},"Long enough to be a phrase rather than a word",[30,80,81],{},"Not the password you use for your bank or your email",[30,83,84],{},"Something you can write down and recognize later",[15,86,87,91,92,95],{},[88,89,90],"code",{},"correct-horse-battery-staple"," beats ",[88,93,94],{},"P@ssw0rd1",". Longer beats clever.",[15,97,98],{},"Be sensible rather than paranoid. Quark sits in your house, so the realistic risk is not a stranger with a powerful\ncomputer. It is you forgetting the password. A phrase you will remember, written on a card in your desk drawer, beats a\nthirty-character monster you lose in a week.",[49,100],{},[22,102,104],{"id":103},"the-vault","The vault",[15,106,107,108,113],{},"The ",[109,110,112],"a",{"href":111},"\u002Fdocs\u002Fvault","vault"," is where Quark keeps your saved logins. Everyone on your Quark has their own vault, and it opens\nwith the same password you sign in with. There is no second password to remember.",[15,115,116],{},"Your vault is locked on your own phone or computer before anything is saved to the Quark. The Quark only holds the\nlocked version. Nobody else can open your vault through Quark: not another person in your house, not an admin, and not\nus.",[15,118,119,120,123],{},"The other side of that is simple. If you lose both your password and your recovery phrase, your vault is gone. Nobody\ncan get it back for you. You can then start a fresh, empty vault with ",[59,121,122],{},"Start over",".",[15,125,126],{},"To keep your vault safe through a forgotten password:",[27,128,129,136,146],{},[30,130,131,132,135],{},"Open ",[59,133,134],{},"Vault"," from the app drawer.",[30,137,138,139,142,143,123],{},"On ",[59,140,141],{},"Set up your vault",", type your password, and your recovery phrase into ",[59,144,145],{},"Recovery phrase (optional)",[30,147,148,149,123],{},"Tap ",[59,150,151],{},"Set up vault",[15,153,154],{},"If you skipped the phrase, your vault picks it up the next time your account is given a new recovery phrase. Until then,\na forgotten password means a fresh vault.",[15,156,157,158,161],{},"Changing your password under ",[59,159,160],{},"Settings → Account → Change password"," keeps your vault. It opens with the new password\nfrom then on.",[15,163,164,165,168],{},"One more thing. ",[59,166,167],{},"Export"," saves a copy of your vault as a normal file that anyone can read. Keep that file somewhere\nsafe, and delete it when you are done with it.",[49,170],{},[22,172,174],{"id":173},"the-3-2-1-backup-rule","The 3-2-1 backup rule",[15,176,177],{},"Quark stores your files. Quark is also a physical box, and boxes fail, flood, and get stolen.",[74,179,180,186,192],{},[30,181,182,185],{},[59,183,184],{},"3"," copies of anything you would miss",[30,187,188,191],{},[59,189,190],{},"2"," different kinds of storage, like Quark's drive plus a USB backup drive",[30,193,194,197],{},[59,195,196],{},"1"," copy that is not in the same building",[15,199,200,201,204,205,208,209,212,213,216,217,220],{},"Quark tells you how you are doing. Open ",[59,202,203],{},"System"," from the app drawer and pick the ",[59,206,207],{},"Storage"," tab. A card at the top\nrates your files ",[59,210,211],{},"Unprotected",", ",[59,214,215],{},"Basic",", or ",[59,218,219],{},"Protected",", and tells you the next step.",[15,222,223,224,228],{},"An admin backs up onto a ",[109,225,227],{"href":226},"\u002Fdocs\u002Fsystem\u002Fstorage-and-backups","backup drive"," in the app, by hand or on a daily, weekly or\nmonthly schedule. A backup drive at home is still not the copy out of the house. That one is up to you. A drive at a relative's\nhouse that you swap every so often is enough.",[15,230,231,232],{},"There is no backup plan that can save you from ",[233,234,235],"em",{},"no backup at all.",[49,237],{},[22,239,241],{"id":240},"physical-security","Physical security",[15,243,244],{},"Quark is a small computer holding your files. Treat it like one.",[74,246,247,250,253],{},[30,248,249],{},"Keep it indoors, off the floor, somewhere that does not freeze or bake",[30,251,252],{},"Keep it out of casual sight. There's no need to advertise a storage box.",[30,254,255],{},"Do not keep your only backup drive next to Quark. Fire and burglary take pairs.",[49,257],{},[22,259,261],{"id":260},"network-security","Network security",[15,263,264],{},"Quark is built for your home network. It does not need the internet to do its job.",[74,266,267,270,273],{},[30,268,269],{},"Password-protect your WiFi with WPA2 or WPA3.",[30,271,272],{},"Do not hand your WiFi password to people you do not trust.",[30,274,275,276,279,280,283],{},"On its own, Quark reaches out to the internet for one routine thing: fetching security fixes for the system it runs\non. It looks for new Quark versions only when someone opens the ",[59,277,278],{},"Updates"," tab in ",[59,281,282],{},"Settings",". The code is public if\nyou want to check.",[285,286,288],"h3",{"id":287},"remote-access","Remote access",[15,290,291,294,295,298],{},[109,292,288],{"href":293},"\u002Fdocs\u002Fsettings\u002Fremote-access"," lets your household reach Quark when you are away from home. It is off\nuntil an admin turns it on in ",[59,296,297],{},"Settings → Network",", and an admin can turn it off again at any time.",[15,300,301],{},"Remote access is a private connection between your Quark and your own devices. It does not open anything on your\nrouter, and your files are not copied to us. Quark's own sign-in still checks every visit.",[15,303,304],{},"If nobody in your house needs to reach Quark from outside, leave it off. Everything at home works the same either way.",[49,306],{},[22,308,310],{"id":309},"estate-planning","Estate planning",[15,312,313],{},"The hard part is not the photos. It is the passwords. Whoever ends up with your Quark password ends up with your files\nand every login in your vault. Treat it like a key to the house.",[15,315,316],{},"Handle it like any other important document:",[27,318,319,322,325],{},[30,320,321],{},"Write down your Quark username, password, and recovery phrase. Each person in your house should do the same for\ntheir own account.",[30,323,324],{},"Store them where your will is stored: a fireproof box, a safe deposit box, or with the attorney who holds the will.",[30,326,327],{},"Tell one person you trust that Quark exists, what is on it, and where those papers are.",[15,329,330],{},"A trusted-contact feature is on the roadmap but not live yet, so paper and a trusted person are the plan for now.",[15,332,333],{},"This is not morbid. It is the same reason you leave a spare key with a neighbor.",[49,335],{},[22,337,339],{"id":338},"if-you-think-someone-got-in","If you think someone got in",[15,341,342,343,347],{},"Quark has no API keys or app passwords to hunt down. Getting in means a username and password. The exception is\n",[109,344,346],{"href":345},"\u002Fdocs\u002Fsettings\u002Fssh","SSH access",": if an admin turned it on, its keys and password are a way in too. Turn it off and\nremove any key you do not recognize.",[15,349,350],{},"Then:",[27,352,353,371,377,392,398,401],{},[30,354,131,355,358,359,362,363,366,367,123],{},[59,356,357],{},"Settings → Account"," and look at the ",[59,360,361],{},"Sessions"," card. It lists everywhere your account is signed in. Tap\n",[59,364,365],{},"Sign out everywhere else",". See ",[109,368,370],{"href":369},"\u002Fdocs\u002Fstart\u002Fgetting-started#where-am-i-signed-in","Where am I signed in?",[30,372,373,374,376],{},"Change your password under ",[59,375,160],{},". This also signs out every other device on your\naccount.",[30,378,379,380,383,384,387,388,123],{},"If you are an admin, turn off any account you do not trust with ",[59,381,382],{},"Disable"," on the ",[59,385,386],{},"Users"," page. That person is\nsigned out everywhere. See ",[109,389,391],{"href":390},"\u002Fdocs\u002Fusers#turning-off-and-removing-accounts","Turning off and removing accounts",[30,393,394,395,397],{},"If remote access is on and you are not sure how they got in, turn it off in ",[59,396,297],{}," for now.",[30,399,400],{},"Change your WiFi password if your network was the likely way in.",[30,402,403],{},"Look through your files for odd deletions, unfamiliar folders, or changes you did not make.",[15,405,406],{},"If things look badly wrong, unplug Quark from your router. Nothing reaches it while it is off the network, and that buys\nyou time to work out what happened.",[15,408,409],{},"Guessing a password is slow. After a few wrong tries, Quark refuses that sign-in for a while, even if the next try is\nright.",[49,411],{},[22,413,415],{"id":414},"what-quark-does-not-do","What Quark does not do",[15,417,418],{},"To be direct about the limits:",[74,420,421,424,427,430],{},[30,422,423],{},"It does not scan uploads for viruses. It stores what you give it.",[30,425,426],{},"It does not stop someone carrying the box out of your house. Vaults stay locked, but ordinary files on the drive\ncould be read by whoever is holding it. A vault export you saved is ordinary too.",[30,428,429],{},"It does not protect your vault or chat from an app that has been tampered with. Both stay locked only as long as the\napp you type your password into is honest. In a web browser, that app comes from your Quark, so someone who controls\nthe Quark itself could change it. The phone and desktop apps don't come from your Quark.",[30,431,432],{},"It does not make your WiFi password safe to share. Someone on your network can reach Quark's sign-in screen, but\nthat is where they stop. Seeing your files still means knowing your password.",[15,434,435],{},"Knowing the limits helps you decide what to store and how.",[22,437,439],{"id":438},"related","Related",[74,441,442,447,453,459,466],{},[30,443,444,446],{},[109,445,134],{"href":111},": your saved logins",[30,448,449,452],{},[109,450,451],{"href":226},"Storage and Backups",": backup drives and snapshot backups",[30,454,455,458],{},[109,456,457],{"href":293},"Remote Access",": reaching Quark away from home",[30,460,461,465],{},[109,462,464],{"href":463},"\u002Fdocs\u002Fusers","Accounts and Sharing",": admins, members, and turning accounts off",[30,467,468,471],{},[109,469,470],{"href":345},"SSH",": the one way in besides signing in",[22,473,475],{"id":474},"nerd-notes","Nerd Notes",[15,477,478,481,482,485,486,489,490,493,494,497,498,501,502,505,506,509,510,513,514,501,517,123],{},[59,479,480],{},"Sign-in keys."," The app never sends your password. It runs Argon2id over the password and the account's salt (t=3,\nm=64 MiB, p=1), then uses HKDF-SHA256 to split that into separate keys: ",[88,483,484],{},"auth"," is sent to sign in, ",[88,487,488],{},"vault-wrap"," wraps the\nvault key, and ",[88,491,492],{},"chat-wrap"," wraps the chat identity. The recovery phrase works the same way with ",[88,495,496],{},"recovery-auth",",\n",[88,499,500],{},"recovery-vault-wrap"," and ",[88,503,504],{},"recovery-wrap",". The Quark stores the auth key as a SHA-256 hash and compares in constant\ntime. A body carrying a raw ",[88,507,508],{},"password"," gets ",[59,511,512],{},"426",". See quark's ",[88,515,516],{},"docs\u002Fauth.md",[88,518,519],{},"lib\u002Fservices\u002Faccount_crypto.dart",[15,521,522,525,526,528,529,531,532,535,536,539,540,543,544,547],{},[59,523,524],{},"The vault."," Each account has a random vault key, made in the app. It is stored on the Quark wrapped with\nXChaCha20-Poly1305 under the ",[88,527,488],{}," key, and also under ",[88,530,500],{}," when the phrase was typed at setup or\nthe account has had a new phrase since. Entries and folders are ",[88,533,534],{},"vault_items"," rows of ciphertext; the name, URL,\nusername, password, notes, two-factor secret and folder all live inside it. Every query in ",[88,537,538],{},"sql\u002Fqueries\u002Fvault.sql"," is\nscoped to the caller's ",[88,541,542],{},"user_id",", so an admin's request cannot reach another account's rows. The old household vault and\nits master password are gone (",[88,545,546],{},"038_drop_household_vault","). The setup screen checks the typed password against the auth\nkey before it stores anything. It does not check the phrase, so a mistyped phrase is accepted and never opens the vault.",[74,549,550,563,579,587,593,603],{},[30,551,552,555,556,559,560,123],{},[88,553,554],{},"GET","\u002F",[88,557,558],{},"PUT \u002Fapi\u002Fv0\u002Fvault\u002Fkey",": the wrapped key. An account with no vault gets ",[88,561,562],{},"404 {\"error\":\"this account has no vault yet\"}",[30,564,565,555,567,212,570,555,572,555,575,578],{},[88,566,554],{},[88,568,569],{},"POST \u002Fapi\u002Fv0\u002Fvault\u002Fitems",[88,571,554],{},[88,573,574],{},"PUT",[88,576,577],{},"DELETE \u002Fapi\u002Fv0\u002Fvault\u002Fitems\u002F:id",": ciphertext items.",[30,580,581,584,585,123],{},[88,582,583],{},"DELETE \u002Fapi\u002Fv0\u002Fvault",": ",[59,586,122],{},[30,588,589,592],{},[88,590,591],{},"PUT \u002Fapi\u002Fv0\u002Fauth\u002Fpassword"," sends the vault key re-wrapped under the new password, in the same transaction.",[30,594,595,596,212,599,602],{},"Exports (",[88,597,598],{},"quark_vault.json",[88,600,601],{},"quark_vault.csv",") are written in the app, in plaintext.",[30,604,605,606,609,610,613,614,617,618,621],{},"A snapshot backup copies the ciphertext and wrapped keys into ",[88,607,608],{},"vault_items_backup.db"," in each run folder, with a\n",[88,611,612],{},"vault_items_backup.db.mac"," that binds the file to the Quark that wrote it. Chat goes the same way, into\n",[88,615,616],{},"chat_backup.db"," and its ",[88,619,620],{},".mac",". On PostgreSQL neither file is written; the database backup covers them.",[15,623,624,627,628,631,632,635,636,638,639,641,642,645,646,649,650,653],{},[59,625,626],{},"Sessions and lockout."," Sessions last 30 days. ",[88,629,630],{},"GET \u002Fapi\u002Fv0\u002Fauth\u002Fsessions"," lists them and\n",[88,633,634],{},"DELETE \u002Fapi\u002Fv0\u002Fauth\u002Fsessions\u002F:id"," signs one out. ",[88,637,591],{}," signs out every other session of the\naccount in the same transaction (since quark v0.53.0). An admin's ",[59,640,382],{}," is ",[88,643,644],{},"PUT \u002Fapi\u002Fv0\u002Fadmin\u002Fdisable\u002F:username",".\nAfter five wrong sign-ins, the next one gets ",[59,647,648],{},"429"," with ",[88,651,652],{},"Retry-After",". The wait starts at 30 seconds and doubles with\neach further miss, up to 15 minutes. HTTP Basic shares the same lockout.",[15,655,656,659,660,663,664,667,668,671,672,675,676,679,680,683,684,687,688,691,692,497,695,501,698,675,700,703,704,706,707,710,711,714],{},[59,657,658],{},"Outbound contact."," Debian's ",[88,661,662],{},"unattended-upgrades"," is set to the security pocket only (",[88,665,666],{},"pkg\u002Futil\u002Faptutil","). The\nversion check, ",[88,669,670],{},"GET \u002Fapi\u002Fv0\u002Fversion\u002Favailable",", runs when the Updates tab opens. It lists releases on the Azure storage\naccount ",[88,673,674],{},"quarkrelease"," (",[88,677,678],{},"quarkrelease.blob.core.windows.net",") first, and falls back to\n",[88,681,682],{},"api.github.com\u002Frepos\u002Fautobutler-org\u002Fquark\u002Freleases"," if that fails (",[88,685,686],{},"DefaultUpdateSources"," in\n",[88,689,690],{},"pkg\u002Futil\u002Fupdateutil\u002Fupdateutil.go","). Downloading an update may only contact ",[88,693,694],{},"github.com",[88,696,697],{},"objects.githubusercontent.com",[88,699,678],{},[88,701,702],{},"allowedUpdateHosts","). Remote access, while it\nis on, contacts its provisioning and coordination service and can use third-party relay servers when a direct\nconnection is not possible. Those relays see IP addresses and cannot read the traffic. It does not upload diagnostic\nlogs or client metrics. ",[109,705,457],{"href":293}," has the details. Remote requests reach Quark\nover loopback, which is why ",[88,708,709],{},"X-Forwarded-For"," is trusted only from loopback (or\n",[88,712,713],{},"QUARK_TRUSTED_PROXIES","), keeping the sign-in lockout keyed on the real client.",[15,716,717,720,721,723,724,123],{},[59,718,719],{},"Backups."," The ",[59,722,207],{}," tab's protection card reads ",[88,725,726],{},"GET \u002Fapi\u002Fv0\u002Fstorage\u002Fprotection",{"title":728,"searchDepth":729,"depth":729,"links":730},"",2,[731,732,733,734,735,736,740,741,742,743,744],{"id":24,"depth":729,"text":25},{"id":53,"depth":729,"text":54},{"id":103,"depth":729,"text":104},{"id":173,"depth":729,"text":174},{"id":240,"depth":729,"text":241},{"id":260,"depth":729,"text":261,"children":737},[738],{"id":287,"depth":739,"text":288},3,{"id":309,"depth":729,"text":310},{"id":338,"depth":729,"text":339},{"id":414,"depth":729,"text":415},{"id":438,"depth":729,"text":439},{"id":474,"depth":729,"text":475},"The handful of things every Quark owner should do to keep their files and passwords safe, in plain English","md",{},"2026-11-21T17:21:12Z",{"title":750,"order":729},"Security Guide","\u002Fdocs\u002Fhelp\u002Fsecurity-guide",{"title":5,"description":745},"docs\u002Fhelp\u002Fsecurity-guide","pvhqpzUtjpDtU_8XZOUcEg62KemYN2urvsFlX53nP4U",[756,761,765,769,773,777,782,786,790,794,799,801,804,808,812,816,818,821,826,830,834,838,843,847,852,856,859,861,865,868],{"path":757,"title":758,"navigation":759},"\u002Fdocs\u002Fbooks","Books",{"title":758,"order":760},1,{"path":762,"title":763,"navigation":764},"\u002Fdocs\u002Fcalendar","Calendar",{"title":763,"order":760},{"path":766,"title":767,"navigation":768},"\u002Fdocs\u002Fchat","Chat",{"title":767,"order":760},{"path":770,"title":771,"navigation":772},"\u002Fdocs\u002Fdocs","Docs",{"title":771,"order":760},{"path":774,"title":775,"navigation":776},"\u002Fdocs\u002Ffiles\u002Ffile-types","File Types",{"title":775,"order":729},{"path":778,"title":779,"navigation":780},"\u002Fdocs\u002Ffiles\u002Fgoogle-takeout","Moving from Google with Google Takeout",{"title":781,"order":739},"Google Takeout Guide",{"path":783,"title":784,"navigation":785},"\u002Fdocs\u002Ffiles","Files",{"title":784,"order":760},{"path":787,"title":788,"navigation":789},"\u002Fdocs\u002Fhelp\u002Faccessibility","Accessibility",{"title":788,"order":739},{"path":791,"title":792,"navigation":793},"\u002Fdocs\u002Fhelp","Help",{"title":792,"order":760},{"path":795,"title":796,"navigation":797},"\u002Fdocs\u002Fhelp\u002Fkeyboard-shortcuts","Keyboard Shortcuts",{"title":796,"order":798},4,{"path":751,"title":5,"navigation":800},{"title":750,"order":729},{"path":802,"title":475,"navigation":803},"\u002Fdocs\u002Fnerd-notes",{"title":475,"order":760},{"path":805,"title":806,"navigation":807},"\u002Fdocs\u002Fnerd-notes\u002Fself-hosting","Self-Hosting",{"title":806,"order":729},{"path":809,"title":810,"navigation":811},"\u002Fdocs\u002Fphotos","Photos",{"title":810,"order":760},{"path":813,"title":814,"navigation":815},"\u002Fdocs\u002Fsettings","Settings Reference",{"title":814,"order":760},{"path":293,"title":457,"navigation":817},{"title":457,"order":729},{"path":345,"title":819,"navigation":820},"SSH Access",{"title":819,"order":739},{"path":822,"title":823,"navigation":824},"\u002Fdocs\u002Fsettings\u002Fversions","Versions and release notes",{"title":825,"order":798},"Versions",{"path":827,"title":828,"navigation":829},"\u002Fdocs\u002Fsheets\u002Fformulas","Sheets formulas",{"title":828,"order":729},{"path":831,"title":832,"navigation":833},"\u002Fdocs\u002Fsheets","Sheets",{"title":832,"order":760},{"path":835,"title":836,"navigation":837},"\u002Fdocs\u002Fslides","Slides",{"title":836,"order":760},{"path":839,"title":840,"navigation":841},"\u002Fdocs\u002Fstart\u002Fconnecting","Connecting to Your Quark",{"title":842,"order":798},"Connecting",{"path":844,"title":845,"navigation":846},"\u002Fdocs\u002Fstart\u002Fgetting-started","Getting Started",{"title":845,"order":729},{"path":848,"title":849,"navigation":850},"\u002Fdocs\u002Fstart\u002Fhow-it-works","How Quark Works",{"title":851,"order":739},"How It Works",{"path":853,"title":854,"navigation":855},"\u002Fdocs\u002Fstart\u002Fwelcome","Welcome",{"title":854,"order":760},{"path":857,"title":203,"navigation":858},"\u002Fdocs\u002Fsystem",{"title":203,"order":760},{"path":226,"title":451,"navigation":860},{"title":451,"order":729},{"path":862,"title":863,"navigation":864},"\u002Fdocs\u002Ftrash","Trash",{"title":863,"order":760},{"path":463,"title":866,"navigation":867},"Users and sharing",{"title":866,"order":760},{"path":111,"title":134,"navigation":869},{"title":134,"order":760},1795283135222]