[{"data":1,"prerenderedAt":649},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fbancwr\u002Fsigning-identities":148,"\u002Fdocs\u002Fbancwr\u002Fsigning-identities-surround":646},[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":147},"Bancwr","\u002Fdocs\u002Fbancwr","1.docs\u002F4.bancwr\u002F01.index",[98,100,103,107,111,115,119,123,127,131,135,139,143],{"title":99,"path":95,"stem":96,"icon":10},"What is Bancwr",{"title":12,"path":101,"stem":102},"\u002Fdocs\u002Fbancwr\u002Finstallation","1.docs\u002F4.bancwr\u002F02.installation",{"title":104,"path":105,"stem":106},"Configuring the URLs","\u002Fdocs\u002Fbancwr\u002Furls","1.docs\u002F4.bancwr\u002F03.urls",{"title":108,"path":109,"stem":110},"First administrator and signing in","\u002Fdocs\u002Fbancwr\u002Ffirst-administrator","1.docs\u002F4.bancwr\u002F04.first-administrator",{"title":112,"path":113,"stem":114},"Protecting the bunker key","\u002Fdocs\u002Fbancwr\u002Fprotecting-the-key","1.docs\u002F4.bancwr\u002F05.protecting-the-key",{"title":116,"path":117,"stem":118},"Team and roles","\u002Fdocs\u002Fbancwr\u002Fteam","1.docs\u002F4.bancwr\u002F06.team",{"title":120,"path":121,"stem":122},"Signing identities","\u002Fdocs\u002Fbancwr\u002Fsigning-identities","1.docs\u002F4.bancwr\u002F07.signing-identities",{"title":124,"path":125,"stem":126},"Connecting apps","\u002Fdocs\u002Fbancwr\u002Fconnecting-apps","1.docs\u002F4.bancwr\u002F08.connecting-apps",{"title":128,"path":129,"stem":130},"Approval before signing","\u002Fdocs\u002Fbancwr\u002Fapproval-before-signing","1.docs\u002F4.bancwr\u002F09.approval-before-signing",{"title":132,"path":133,"stem":134},"Profile, follows and relays","\u002Fdocs\u002Fbancwr\u002Fprofile-follows-relays","1.docs\u002F4.bancwr\u002F10.profile-follows-relays",{"title":136,"path":137,"stem":138},"Health, versions and logs","\u002Fdocs\u002Fbancwr\u002Fhealth-and-logs","1.docs\u002F4.bancwr\u002F11.health-and-logs",{"title":140,"path":141,"stem":142},"Backup and restore","\u002Fdocs\u002Fbancwr\u002Fbackup-and-restore","1.docs\u002F4.bancwr\u002F12.backup-and-restore",{"title":144,"path":145,"stem":146},"Updating","\u002Fdocs\u002Fbancwr\u002Fupdating","1.docs\u002F4.bancwr\u002F13.updating","i-lucide-server",{"id":149,"title":120,"body":150,"description":202,"extension":641,"meta":642,"navigation":266,"path":121,"seo":643,"stem":122,"__hash__":645},"docs\u002F1.docs\u002F4.bancwr\u002F07.signing-identities.md",{"type":151,"value":152,"toc":631},"minimark",[153,158,162,175,178,182,185,469,472,478,482,492,500,504,507,518,521,524,540,547,550,554,564,586,589,593,604,608,615,619,627],[154,155,157],"h2",{"id":156},"one-bunker-several-identities","One bunker, several identities",[159,160,161],"p",{},"One bunker can sign as several Nostr keys, its identities. An agency, or a brand with several accounts, needs one bunker, not one per key.",[163,164,165,169,172],"ul",{},[166,167,168],"li",{},"The key you imported first, when you installed Bancwr, is the primary.",[166,170,171],{},"Each connection token is issued for one identity. Its app signs, encrypts and decrypts only as that identity.",[166,173,174],{},"Administrators choose which identities each member may sign as.",[159,176,177],{},"With only one identity, nothing changes, and none of this appears in the console.",[154,179,181],{"id":180},"adding-an-identity","Adding an identity",[159,183,184],{},"Identities are added on the server, never in the console, so a key never passes through a browser.",[186,187,188,315,397,436],"ol",{},[166,189,190,191,195,196],{},"Put the new key, as an ",[192,193,194],"code",{},"nsec"," or in hex, in a file, and hand it to the bunker's user:",[197,198,203],"pre",{"className":199,"code":200,"language":201,"meta":202,"style":202},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","(umask 077; ${EDITOR:-nano} secrets\u002Fbrand_b)\nchmod 400 secrets\u002Fbrand_b\n\n# Rootless Podman\npodman unshare chown 65532:65532 secrets\u002Fbrand_b\n\n# Docker\nsudo chown 65532:65532 secrets\u002Fbrand_b\n","bash","",[192,204,205,248,261,268,275,292,297,303],{"__ignoreMap":202},[206,207,210,214,218,222,225,228,232,235,238,241,245],"span",{"class":208,"line":209},"line",1,[206,211,213],{"class":212},"sMK4o","(",[206,215,217],{"class":216},"s2Zo4","umask",[206,219,221],{"class":220},"sbssI"," 077",[206,223,224],{"class":212},";",[206,226,227],{"class":212}," ${",[206,229,231],{"class":230},"sTEyZ","EDITOR",[206,233,234],{"class":212},":-",[206,236,237],{"class":230},"nano",[206,239,240],{"class":212},"}",[206,242,244],{"class":243},"sfazB"," secrets\u002Fbrand_b",[206,246,247],{"class":212},")\n",[206,249,251,255,258],{"class":208,"line":250},2,[206,252,254],{"class":253},"sBMFI","chmod",[206,256,257],{"class":220}," 400",[206,259,260],{"class":243}," secrets\u002Fbrand_b\n",[206,262,264],{"class":208,"line":263},3,[206,265,267],{"emptyLinePlaceholder":266},true,"\n",[206,269,271],{"class":208,"line":270},4,[206,272,274],{"class":273},"sHwdD","# Rootless Podman\n",[206,276,278,281,284,287,290],{"class":208,"line":277},5,[206,279,280],{"class":253},"podman",[206,282,283],{"class":243}," unshare",[206,285,286],{"class":243}," chown",[206,288,289],{"class":243}," 65532:65532",[206,291,260],{"class":243},[206,293,295],{"class":208,"line":294},6,[206,296,267],{"emptyLinePlaceholder":266},[206,298,300],{"class":208,"line":299},7,[206,301,302],{"class":273},"# Docker\n",[206,304,306,309,311,313],{"class":208,"line":305},8,[206,307,308],{"class":253},"sudo",[206,310,286],{"class":243},[206,312,289],{"class":243},[206,314,260],{"class":243},[166,316,317,318,385,388,389,392,393,396],{},"Add it, with a label to recognise it by:",[197,319,321],{"className":199,"code":320,"language":201,"meta":202,"style":202},"podman compose run --rm --no-deps \\\n  -v .\u002Fsecrets\u002Fbrand_b:\u002Frun\u002Fsecrets\u002Fbrand_b:ro,Z \\\n  -e BUNKER_NSEC_FILE=\u002Frun\u002Fsecrets\u002Fbrand_b \\\n  bunker import-key --add --label \"Brand B\"\n",[192,322,323,342,352,362],{"__ignoreMap":202},[206,324,325,327,330,333,336,339],{"class":208,"line":209},[206,326,280],{"class":253},[206,328,329],{"class":243}," compose",[206,331,332],{"class":243}," run",[206,334,335],{"class":243}," --rm",[206,337,338],{"class":243}," --no-deps",[206,340,341],{"class":230}," \\\n",[206,343,344,347,350],{"class":208,"line":250},[206,345,346],{"class":243},"  -v",[206,348,349],{"class":243}," .\u002Fsecrets\u002Fbrand_b:\u002Frun\u002Fsecrets\u002Fbrand_b:ro,Z",[206,351,341],{"class":230},[206,353,354,357,360],{"class":208,"line":263},[206,355,356],{"class":243},"  -e",[206,358,359],{"class":243}," BUNKER_NSEC_FILE=\u002Frun\u002Fsecrets\u002Fbrand_b",[206,361,341],{"class":230},[206,363,364,367,370,373,376,379,382],{"class":208,"line":270},[206,365,366],{"class":243},"  bunker",[206,368,369],{"class":243}," import-key",[206,371,372],{"class":243}," --add",[206,374,375],{"class":243}," --label",[206,377,378],{"class":212}," \"",[206,380,381],{"class":243},"Brand B",[206,383,384],{"class":212},"\"\n",[386,387],"br",{},"With Docker, use ",[192,390,391],{},"docker compose"," in the same command. It prints the new identity's ",[192,394,395],{},"npub",", never its key.",[166,398,399,400],{},"Delete every plain copy of the key, as after the first import:",[197,401,403],{"className":199,"code":402,"language":201,"meta":202,"style":202},"# Rootless Podman\npodman unshare rm secrets\u002Fbrand_b\n\n# Docker\nsudo rm secrets\u002Fbrand_b\n",[192,404,405,409,420,424,428],{"__ignoreMap":202},[206,406,407],{"class":208,"line":209},[206,408,274],{"class":273},[206,410,411,413,415,418],{"class":208,"line":250},[206,412,280],{"class":253},[206,414,283],{"class":243},[206,416,417],{"class":243}," rm",[206,419,260],{"class":243},[206,421,422],{"class":208,"line":263},[206,423,267],{"emptyLinePlaceholder":266},[206,425,426],{"class":208,"line":270},[206,427,302],{"class":273},[206,429,430,432,434],{"class":208,"line":277},[206,431,308],{"class":253},[206,433,417],{"class":243},[206,435,260],{"class":243},[166,437,438,439,443,444,447,448,451,452],{},"Restart the bunker. A new identity loads when the bunker starts. Until then, ",[440,441,442],"strong",{},"Config",", ",[440,445,446],{},"Identities"," shows it as ",[440,449,450],{},"Loads when the bunker restarts",".",[197,453,455],{"className":199,"code":454,"language":201,"meta":202,"style":202},"podman compose restart bunker\n",[192,456,457],{"__ignoreMap":202},[206,458,459,461,463,466],{"class":208,"line":209},[206,460,280],{"class":253},[206,462,329],{"class":243},[206,464,465],{"class":243}," restart",[206,467,468],{"class":243}," bunker\n",[159,470,471],{},"The import refuses a key that is already an identity, the primary, or a team member's key.",[159,473,474,475,451],{},"Each identity is encrypted under the same root credential as the primary, and kept in the bunker's database, so every backup carries them all. See ",[476,477,112],"a",{"href":113},[154,479,481],{"id":480},"the-identities-list","The Identities list",[159,483,484,443,486,488,489,491],{},[440,485,442],{},[440,487,446],{}," lists the identities the bunker signs as, with each one's label and ",[192,490,395],{},". The primary is marked.",[163,493,494,497],{},[166,495,496],{},"To rename an identity, edit its label. A label is 1 to 100 characters.",[166,498,499],{},"An identity cannot be removed yet. If one is no longer used, rename it to say so, and revoke its connections.",[154,501,503],{"id":502},"granting-identities-to-members","Granting identities to members",[159,505,506],{},"Once the bunker holds more than one identity:",[163,508,509,512,515],{},[166,510,511],{},"A signer needs a grant for each identity they may sign as, the primary included.",[166,513,514],{},"Administrators may sign as every identity, with no grant needed.",[166,516,517],{},"Viewers sign as none.",[159,519,520],{},"When you add the first identity beside the primary, every member who could sign keeps the primary, so nobody loses access.",[159,522,523],{},"To grant or remove identities:",[186,525,526,533],{},[166,527,528,529,532],{},"Open ",[440,530,531],{},"Team"," and click the member's name.",[166,534,535,536,539],{},"Under ",[440,537,538],{},"May sign as",", tick the identities they may sign as, and untick the ones they may not.",[159,541,542,543,546],{},"When you add a member, the same choice appears on the ",[440,544,545],{},"Add Team Member"," form, with the primary ticked.",[159,548,549],{},"Removing a grant disconnects the member's apps for that identity, and revokes their unused tokens for it. Their other identities are untouched.",[154,551,553],{"id":552},"which-identity-an-app-signs-as","Which identity an app signs as",[159,555,556,557,443,560,563],{},"When an administrator issues a connection token under ",[440,558,559],{},"Connections",[440,561,562],{},"Sign as"," chooses the identity. Only identities the member may sign as are offered. Without a choice, the token is for the primary.",[163,565,566,577,580,583],{},[166,567,568,569,572,573,451],{},"The token's ",[192,570,571],{},"bunker:\u002F\u002F"," string names that identity's public key. See ",[476,574,576],{"href":575},"\u002Fdocs\u002Fbancwr\u002Furls#the-connection-string-apps-use","The connection string apps use",[166,578,579],{},"The app signs, encrypts and decrypts only as that identity.",[166,581,582],{},"An app connected to one identity that sends a request to another is refused.",[166,584,585],{},"A token for one identity cannot be used to connect to another. The token is used up.",[159,587,588],{},"Every identity uses the bunker's relays. The bunker listens for requests to all of them on the same relays.",[154,590,592],{"id":591},"in-the-logs","In the logs",[159,594,595,596,599,600,451],{},"The signing log names the identity that signed, in the ",[440,597,598],{},"Signed as"," column. The export carries it too. See ",[476,601,603],{"href":602},"\u002Fdocs\u002Fbancwr\u002Fhealth-and-logs#the-logs-page","The Logs page",[154,605,607],{"id":606},"if-an-identity-cannot-be-unlocked","If an identity cannot be unlocked",[159,609,610,611,451],{},"At start, the bunker decrypts the primary, then every other identity. If any does not decrypt to its recorded public key, because its row was altered or the root credential is wrong, the bunker stays locked and its status names the identity by its label. Nothing signs until it is fixed: restore the database from a backup. See ",[476,612,614],{"href":613},"\u002Fdocs\u002Fbancwr\u002Fprotecting-the-key#when-the-bunker-will-not-sign","When the bunker will not sign",[154,616,618],{"id":617},"known-limits","Known limits",[163,620,621,624],{},[166,622,623],{},"An identity cannot be removed yet, only renamed.",[166,625,626],{},"Every identity shares the one root credential, in the one process. Whoever controls the server has them all. Run separate bunkers for keys that must not share that fate.",[628,629,630],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":202,"searchDepth":250,"depth":250,"links":632},[633,634,635,636,637,638,639,640],{"id":156,"depth":250,"text":157},{"id":180,"depth":250,"text":181},{"id":480,"depth":250,"text":481},{"id":502,"depth":250,"text":503},{"id":552,"depth":250,"text":553},{"id":591,"depth":250,"text":592},{"id":606,"depth":250,"text":607},{"id":617,"depth":250,"text":618},"md",{},{"description":644,"title":120},"Sign as several Nostr identities from one Bancwr bunker: add identities from the command line, grant them to members, and issue tokens that sign as a chosen identity.","rTOhbttgCryTFSFUsuD4g-Vdrw4W1GxQjwkOr4oj9qw",[647,648],{"title":116,"path":117,"stem":118,"description":202,"children":-1},{"title":124,"path":125,"stem":126,"description":202,"children":-1},1795083910327]