btremI definitely don't want `contenteditable`since a public key is not something to be edited. And I think <pre> is correct, since, again, the key should be copied as is, no white space collapsing. BICBW because I don't know the detailed mechanics of public/private keys.