[{"data":1,"prerenderedAt":486},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fbancwr\u002Ffirst-administrator":128,"\u002Fdocs\u002Fbancwr\u002Ffirst-administrator-surround":483},[4,19,62,93],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Getting Started","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[9,11,15],{"title":5,"path":6,"stem":7,"icon":10},"i-lucide-rocket",{"title":12,"path":13,"stem":14},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","1.docs\u002F1.getting-started\u002F2.installation",{"title":16,"path":17,"stem":18},"Using Diogel","\u002Fdocs\u002Fgetting-started\u002Fusage","1.docs\u002F1.getting-started\u002F3.usage",{"title":20,"path":21,"stem":22,"children":23,"icon":61},"Porwr","\u002Fdocs\u002Fporwr","1.docs\u002F2.porwr\u002F01.index",[24,26,29,33,37,41,45,49,53,57],{"title":25,"path":21,"stem":22,"icon":10},"What is Porwr",{"title":12,"path":27,"stem":28},"\u002Fdocs\u002Fporwr\u002Finstallation","1.docs\u002F2.porwr\u002F02.installation",{"title":30,"path":31,"stem":32},"Dashboard","\u002Fdocs\u002Fporwr\u002Fdashboard","1.docs\u002F2.porwr\u002F03.dashboard",{"title":34,"path":35,"stem":36},"Key Management","\u002Fdocs\u002Fporwr\u002Fkeys","1.docs\u002F2.porwr\u002F04.keys",{"title":38,"path":39,"stem":40},"Profile Management","\u002Fdocs\u002Fporwr\u002Fprofile","1.docs\u002F2.porwr\u002F05.profile",{"title":42,"path":43,"stem":44},"Relay Management","\u002Fdocs\u002Fporwr\u002Frelay","1.docs\u002F2.porwr\u002F06.relay",{"title":46,"path":47,"stem":48},"Messaging","\u002Fdocs\u002Fporwr\u002Fmessaging","1.docs\u002F2.porwr\u002F07.messaging",{"title":50,"path":51,"stem":52},"Media Management","\u002Fdocs\u002Fporwr\u002Fmedia","1.docs\u002F2.porwr\u002F08.media",{"title":54,"path":55,"stem":56},"Wallet Management","\u002Fdocs\u002Fporwr\u002Fwallet","1.docs\u002F2.porwr\u002F09.wallet",{"title":58,"path":59,"stem":60},"Extension Settings","\u002Fdocs\u002Fporwr\u002Fsettings","1.docs\u002F2.porwr\u002F10.settings","i-lucide-puzzle",{"title":63,"path":64,"stem":65,"children":66,"icon":92},"Symudol","\u002Fdocs\u002Fsymudol","1.docs\u002F3.symudol\u002F1.index",[67,69,72,76,80,84,88],{"title":68,"path":64,"stem":65,"icon":10},"What is Symudol",{"title":12,"path":70,"stem":71},"\u002Fdocs\u002Fsymudol\u002Finstallation","1.docs\u002F3.symudol\u002F2.installation",{"title":73,"path":74,"stem":75},"Your vault","\u002Fdocs\u002Fsymudol\u002Fvault","1.docs\u002F3.symudol\u002F3.vault",{"title":77,"path":78,"stem":79},"Accounts and profile","\u002Fdocs\u002Fsymudol\u002Faccounts","1.docs\u002F3.symudol\u002F4.accounts",{"title":81,"path":82,"stem":83},"Approving requests","\u002Fdocs\u002Fsymudol\u002Fapproving-requests","1.docs\u002F3.symudol\u002F5.approving-requests",{"title":85,"path":86,"stem":87},"Remote apps (NIP-46)","\u002Fdocs\u002Fsymudol\u002Fremote-apps","1.docs\u002F3.symudol\u002F6.remote-apps",{"title":89,"path":90,"stem":91},"Settings","\u002Fdocs\u002Fsymudol\u002Fsettings","1.docs\u002F3.symudol\u002F7.settings","i-lucide-smartphone",{"title":94,"path":95,"stem":96,"children":97,"icon":127},"Bancwr","\u002Fdocs\u002Fbancwr","1.docs\u002F4.bancwr\u002F1.index",[98,100,103,107,111,115,119,123],{"title":99,"path":95,"stem":96,"icon":10},"What is Bancwr",{"title":12,"path":101,"stem":102},"\u002Fdocs\u002Fbancwr\u002Finstallation","1.docs\u002F4.bancwr\u002F2.installation",{"title":104,"path":105,"stem":106},"First administrator and signing in","\u002Fdocs\u002Fbancwr\u002Ffirst-administrator","1.docs\u002F4.bancwr\u002F3.first-administrator",{"title":108,"path":109,"stem":110},"Team and roles","\u002Fdocs\u002Fbancwr\u002Fteam","1.docs\u002F4.bancwr\u002F4.team",{"title":112,"path":113,"stem":114},"Connecting apps","\u002Fdocs\u002Fbancwr\u002Fconnecting-apps","1.docs\u002F4.bancwr\u002F5.connecting-apps",{"title":116,"path":117,"stem":118},"Profile, follows and relays","\u002Fdocs\u002Fbancwr\u002Fprofile-follows-relays","1.docs\u002F4.bancwr\u002F6.profile-follows-relays",{"title":120,"path":121,"stem":122},"Health, versions and logs","\u002Fdocs\u002Fbancwr\u002Fhealth-and-logs","1.docs\u002F4.bancwr\u002F7.health-and-logs",{"title":124,"path":125,"stem":126},"Updating","\u002Fdocs\u002Fbancwr\u002Fupdating","1.docs\u002F4.bancwr\u002F8.updating","i-lucide-server",{"id":129,"title":104,"body":130,"description":456,"extension":477,"meta":478,"navigation":479,"path":105,"seo":480,"stem":106,"__hash__":482},"docs\u002F1.docs\u002F4.bancwr\u002F3.first-administrator.md",{"type":131,"value":132,"toc":455},"minimark",[133,138,147,161,164,174,180,186,191,198,201,204,208,214,235,238,260,264,275,279,296,299,303,329,335,339,348,362,365,369,372,375,388,391,395,401,411,417,421,424,427,431,435,441,445,448,452],[134,135,137],"h2",{"id":136},"the-first-administrator","The first administrator",[139,140,141,142,146],"p",{},"Only keys registered with the bunker can use the dashboard. Only an administrator can register keys. So the first administrator comes from the environment, through ",[143,144,145],"code",{},"BANCWR_ADMIN_PUBKEY",".",[139,148,149,150,152,153,156,157,160],{},"Set ",[143,151,145],{}," in ",[143,154,155],{},".env"," to your own ",[143,158,159],{},"npub"," (or hex public key), then start or restart the bunker.",[139,162,163],{},"At startup:",[165,166,167,171],"ul",{},[168,169,170],"li",{},"If no administrator is registered, the bunker registers that key as an administrator. If the key is already a member, it promotes it to administrator. The bunker log says which.",[168,172,173],{},"Once any administrator exists, the setting does nothing. It never re-adds a key you removed, and it never demotes anyone.",[139,175,176,177,179],{},"You can leave ",[143,178,145],{}," set, but it is tidier to remove it once you have signed in.",[139,181,182,183,185],{},"The bunker refuses to start if ",[143,184,145],{}," is not a valid key, or if it is the bunker's own key.",[187,188,190],"h3",{"id":189},"why-the-bunkers-key-can-never-sign-in","Why the bunker's key can never sign in",[139,192,193,194,197],{},"The bunker's own key (",[143,195,196],{},"BUNKER_NSEC",") can never sign in to the dashboard. It can never be registered as a member either, with any role.",[139,199,200],{},"The bunker signs for other people over NIP-46. If its key could sign in, anyone the bunker signs for could get it to sign a Bancwr sign-in and act as that key. Signing in with it would also mean putting the server's signing key into a browser extension.",[139,202,203],{},"If you try to sign in with the bunker's key, Bancwr refuses and tells you to sign in with your own key.",[187,205,207],{"id":206},"if-no-administrator-is-set","If no administrator is set",[139,209,210,211,213],{},"If you start Bancwr without ",[143,212,145],{},", and no administrator is registered:",[165,215,216,219,230],{},[168,217,218],{},"The bunker logs a warning at every start.",[168,220,221,222,226,227,146],{},"The health indicator shows the ",[223,224,225],"strong",{},"Administrator"," check as ",[223,228,229],{},"Needs attention",[168,231,232,233,146],{},"Anyone who signs in sees a page saying the bunker has no administrator yet, with their ",[143,234,159],{},[139,236,237],{},"To make that key the first administrator:",[239,240,241,247,254,257],"ol",{},[168,242,243,244,246],{},"Copy the ",[143,245,159],{}," shown on the page.",[168,248,149,249,251,252,146],{},[143,250,145],{}," to it in ",[143,253,155],{},[168,255,256],{},"Restart the bunker.",[168,258,259],{},"Sign in again.",[134,261,263],{"id":262},"signing-in","Signing in",[139,265,266,267,270,271,274],{},"Open Bancwr at the address set in ",[143,268,269],{},"NUXT_SITE_ORIGIN",". The ",[223,272,273],{},"Sign in"," page offers two ways in.",[187,276,278],{"id":277},"with-a-browser-extension-nip-07","With a browser extension (NIP-07)",[239,280,281,287,290,293],{},[168,282,283,284,146],{},"Click ",[223,285,286],{},"Sign in with extension",[168,288,289],{},"Your extension tells Bancwr which key it holds.",[168,291,292],{},"Confirm the key (see below).",[168,294,295],{},"Approve the sign-in request in your extension.",[139,297,298],{},"If no extension is found, the page says so and suggests a remote signer instead.",[187,300,302],{"id":301},"with-a-remote-signer-nip-46","With a remote signer (NIP-46)",[239,304,305,315,320,327],{},[168,306,307,308,311,312,146],{},"Paste your signer's ",[143,309,310],{},"bunker:\u002F\u002F"," string into ",[223,313,314],{},"Connection string",[168,316,283,317,146],{},[223,318,319],{},"Connect and sign in",[168,321,322,323,326],{},"Approve the connection in your signer. If your signer asks, use the ",[223,324,325],{},"Approve in your signer"," link.",[168,328,292],{},[139,330,283,331,334],{},[223,332,333],{},"Cancel"," to stop waiting for the signer.",[187,336,338],{"id":337},"confirming-the-key","Confirming the key",[139,340,341,342,345,346,146],{},"Before anything is signed, Bancwr shows the key your signer chose, under ",[223,343,344],{},"Sign in as",". It shows the key's name and picture from its public profile when it can find them, and the ",[143,347,159],{},[165,349,350,356],{},[168,351,283,352,355],{},[223,353,354],{},"Continue as …"," to sign in with that key.",[168,357,283,358,361],{},[223,359,360],{},"Use another key"," if it is not the key you meant. Nothing has been signed.",[139,363,364],{},"If the signer then signs with a different key than the one you confirmed, the sign-in is refused.",[187,366,368],{"id":367},"switching-keys-in-your-extension","Switching keys in your extension",[139,370,371],{},"Your extension decides which key signs in. Some extensions, such as Porwr, keep using the key a site first connected with, whichever key is selected.",[139,373,374],{},"To sign in with another key:",[239,376,377,380,383,386],{},[168,378,379],{},"Open your extension's connected sites.",[168,381,382],{},"Disconnect Bancwr's address.",[168,384,385],{},"Choose the key you want.",[168,387,259],{},[139,389,390],{},"With a remote signer, paste the connection string of the signer that holds the key you want.",[134,392,394],{"id":393},"keys-that-are-not-registered","Keys that are not registered",[139,396,397,398,146],{},"If you sign in with a key that is not registered, you see ",[223,399,400],{},"This key is not registered with this bunker",[139,402,403,404,406,407,410],{},"The page shows your ",[143,405,159],{},", with a button to copy it. Send it to an administrator and ask them to add you on the ",[223,408,409],{},"Team"," page.",[139,412,283,413,416],{},[223,414,415],{},"Sign out and try another key"," to go back to the sign-in page.",[134,418,420],{"id":419},"signing-out","Signing out",[139,422,423],{},"Use the sign-out button in the sidebar footer, next to your name and role.",[139,425,426],{},"Signing out ends your session everywhere it was used. Restarting the dashboard container signs everyone out.",[134,428,430],{"id":429},"common-issues","Common issues",[187,432,434],{"id":433},"the-address-does-not-match","The address does not match",[139,436,437,438,440],{},"Sign-in is refused if the page's address does not match ",[143,439,269],{},". Open Bancwr at exactly that address.",[187,442,444],{"id":443},"the-sign-in-request-expired","The sign-in request expired",[139,446,447],{},"Try again. Approve the request in your signer promptly.",[187,449,451],{"id":450},"your-role-no-longer-allows-this-page","Your role no longer allows this page",[139,453,454],{},"Bancwr checks your role on every page. If an administrator changes your access while you have a page open, you see a notice with a link back to the dashboard.",{"title":456,"searchDepth":457,"depth":457,"links":458},"",2,[459,464,470,471,472],{"id":136,"depth":457,"text":137,"children":460},[461,463],{"id":189,"depth":462,"text":190},3,{"id":206,"depth":462,"text":207},{"id":262,"depth":457,"text":263,"children":465},[466,467,468,469],{"id":277,"depth":462,"text":278},{"id":301,"depth":462,"text":302},{"id":337,"depth":462,"text":338},{"id":367,"depth":462,"text":368},{"id":393,"depth":457,"text":394},{"id":419,"depth":457,"text":420},{"id":429,"depth":457,"text":430,"children":473},[474,475,476],{"id":433,"depth":462,"text":434},{"id":443,"depth":462,"text":444},{"id":450,"depth":462,"text":451},"md",{},true,{"description":481,"title":104},"Set up the first Bancwr administrator with BANCWR_ADMIN_PUBKEY, then sign in to the dashboard with a NIP-07 extension or a NIP-46 remote signer.","E7nZVsOAJSVAZAjZGNAC64un1fqn9RJDvT7zttlDu5M",[484,485],{"title":12,"path":101,"stem":102,"description":456,"children":-1},{"title":108,"path":109,"stem":110,"description":456,"children":-1},1793311923236]