I’m not a fan of inventing N different ways to get rendering that looks more or less like Emacs help. And the editing syntax is less readable. Command output: gpg: Signature made Thu 26 Sep 2019 04:10:02 PM CDT using RSA key ID 81E42C40. Import the public key. Now, the doc string explains: ‘default’ (to compute a value according to ‘url-privacy-level’).
(e.g. rGef50fdf82a45: gpg: Extra check for sign usage when verifying a data signature. I don’t know if that problem also exists, but I do know that this cache problem has caused people to think there is a locking problem for edits. And that suffices for 99.9% of our needs for Emacs. This question has also been raised on emacs.StackExchange.. Just to emphasise the nature of the error I encountered: gpg failed when the pathname was a concatenation of a Posix current working directory and Windows target path (with forward slashes), e.g., /c/Users/977315/tmp/c:/Users/977315/.emacs.d/elpa/gnupg/pubring.kbx. In the guide to verifying the ISO on the Linux Mint website it does say "Note: Unless you trusted this signature in the past, or a signature which trusted it, GPG should warn you that the signature is not trusted. My points remain, as does my request: That there be a single recommended keyboard-input markup; that it be clearly presented in TextFormattingRules as the recommended markup; that alternative markup not be equally recommended. Note that this page is not about EmacsWikiMode. During initial install on Ubuntu 18.04, I receive this gpg error: Failed to verify signature archive-contents.sig: No public key for 066DAFCB81E42C40 created at 2019-12 … Use-case: putting a category-tag like CategoryNeedsAttention into a header, without actually invoking it. Apparently our url-privacy-level differs? with something like: gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40 - Modify the expiration date of the old key, e.g. – DrewAdams. I guess you’re saying that a workaround is to do this? I don’t think I’ve ever run into this. After all, we’re also teaching Emacs here. Perhaps diff3 will sometimes merge things and drop changes without marking them as a conflict? Looking at TextFormattingRules, it was also not helpful at all (no hits searching for ‘keyboard’ or ‘input’). Why is it necessary? Common sense stuff like list items and inline markup can be nested (bold list items, for example). I can then close it with a link on how it got resolved. And I do think it’s a bit unfortunate that in some cases (e.g. I have a problem with our seeming to impose a single editing syntax – as opposed to just telling users how different syntaxes get rendered, and then letting them do whatever they want to get whatever effect they want. gpg is looking in a directory that does not exist, and whose name is the concatenation of the current directory and the target directory. Then I followed the instructions again in emacs-w3m. Let users use what they want to do what they want. Question: is this a problem at the melpa site or do I have to have gpg installed and operational to use melpa? Just one opinion. (I said the same thing in that emacs.SE thread.) – DrewAdams, This is still happening, but I still cannot give a recipe for why or when it happens – it happens sometimes. ShareAlike And as a contributor, which syntax should I use? And it’s not just key bindings. I refrefreshed RecentChanges (with rollbacks and minor changes included), but my edit does not appear. Successfully merging a pull request may close this issue. The text was updated successfully, but these errors were encountered: I was able to reproduce this issue in bare Emacs (emacs -Q) by issuing the 'package-list' command. Seeing the same issue here when trying to update the package list with a working Spacemacs. I’m pretty sure, based on what’s happened with other blanket editing-syntax changes made here, that doing that systematically would break rendering here & there, and I wouldn’t even discover that things had broken until much later. I guess I’m OK with the workaround, though it indents too far and adds too much vertical whitespace. Cryptographic signing of packages is a new feature of 27. I can easily imagine a new user wondering if some of those quotes around the key sequences are also supposed to be input, because why else would they be displayed sometimes and not others? On emacs.StackExchange there is a single editing syntax for getting a code font: wrapping with backquote chars. Check server time, its fine. Emphasis markup using apostrophes is the online inline markup that can be nested: ''italic '''bold''' and italic'' → italic bold and italic. I read TextFormattingRules again and it seems pretty good to me. There are many ways you can obtain someone's public key, including: Physically obtaining a copy directly from someone (e.g. Let me be more clear. There are several hundred regular expressions banning user agents of various sorts, so what you’re saying could definitely happen. Export it, and send it to them. Thanks, Alex. I say “we should generally use…”, but more importantly, we should let people use whatever they prefer, as long as it gets the message across clearly. The benefit, of having a consistent syntax to represent input, would remain. You’ll see that this sequence of events took place: Vegard’s update wiped out my previous update. gpg --verify callrecording-13.0.9.tgz.gpg gpg: Signature made Fri 15 Jan 2016 09:39:31 AM CST using RSA key ID 69D2EAD9 gpg: requesting key 69D2EAD9 from hkp server keys.pgp.com gpg: keyserver timed out gpg: Can’t check signature: No public key Sign up for a free GitHub account to open an issue and contact its maintainers and the community. I much prefer the simple approach used at emacs.SE, even if it means I have to change apostrophes in pasted code to backquotes. I have no idea. This problem started several months ago. It’s not as if people wanted to invent multiple such. Whether it’s or something else, what matters most is that there is one syntax that is designated as correct, documented clearly as such, and renders cleanly. Yeah, tt simply changes the font to teletype, it doesn’t mean “code” and thus I think the result is correct. The signature is a hash value, encrypted with the software author’s private key. And there’s a reason that Emacs itself uses quotes, even beyond the obvious one that the default font is typically the same one used for key sequences and the like (a fixed-width font): When you have a key sequence such as C-x n a a a reader can mistake the sequence limits. gpg: Can't check signature: public key not found Thanks for looking into this. The associate editor handling her submission would use Alice's public key to check the signature to verify that the submission indeed came from Alice and that it had not been modified since Alice sent it. Sign in In this case, I think the drawback is indeed significant. What benefit is there to advocating two slightly different syntaxes that are intended to mean the same thing? file on a USB drive) Download it from the internet (e.g. Choice overload and ambiguity have real costs. Now I’m not a zealous practitioner of the Zen of Python, but neither am I an uncritical follower of TMTOWTDI. That does seem to work. I just got this error when trying to save a page after some simple (trivial) editing. For example, you may choose to receive this work under "gpg: Can't check signature: No public key" Is this normal? the file on a USB drive) Download it from the internet (e.g. – DrewAdams, I think the problem is that the HTML being generated right now is invalid: - indent 2
– I don’t think this ever worked as you intended it to. I then clicked the browser ‘Back’ button and tried, successfully, to save again. Spacemacs splash window comes partially up, but Spacemacs or Evil mode are not active. If you look at the revisions of BookmarkPlus between Revision 53 and Revision 58, you’ll see that Revision 54 was a major edit, then 55 was a minor edit. I propose to leave this issue open until I get some resolution. And even if were now such a cure-all thing (which I doubt, but haven’t tested), it’s certainly a verbose way of editing (a minor pain). with something like: gpg --homedir ~/.emacs.d/elpa/gnupg \ --quick-set-expire … If the public key distributed by Red Hat Enterprise Linux does not match the private key during RPM verification, the package may have been altered and therefore cannot be trusted. This issue may have been resolved (see Emacs Bug) which actually is not a bug but my (user) error. It’s one of the reasons I’ve preferred publishing my own documentation, like this, rather than contributing here. This might be the same problem as EditingGetsOldPageText, below, but since that speaks specifically about emacs-w3m, I’m not sure. I disagree with a proposal to use something like for Emacs key sequences. with something like: gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40 - Modify the expiration date of the old key, e.g. Perhaps just use ЕмаксЛиспа? This page is not for questions or problems about Emacs – see OpenQuestions for that. A user can usually just copy+paste key sequences from Emacs Help, which uses backquote+apostrophe, or from Info, which uses curly quotes. In other words, the first time I looked for the pubring.kbx file on the laptop I did see the gnupg (without the dot) directory. Drew, I appreciate your taking the time to write that response, but it doesn’t address the arguments I’ve made since I started this discussion. Or that the path is fine, but somewhere that folder should have been created and it wasn't?. Hence the resort to multiple ones. Is this a cache issue? And in fact a single editing syntax is not sufficient here for all uses. I used cygwin in 1990's, but I have not used WIndows for over 10 years (other than being conduit to access other OS'es), so I'm afraid I can't help you. It just happened now. – Alex Schroeder, See UnicodeEncoding#ucs-cmds.el. I used to think this problem had something to do with the browser cache, but now I’m thinking it has something to do with major and minor edits. And it means that when copy+pasting from Emacs itself, you need to change `something' to something everywhere – a royal pain. If your keys are already too old, causing signature verification errors when installing packages, then in order to install this package you can do the following: - Fetch the new key manually, e.g. I have the following in my early-init.el: I don't know whether this would help you, but it might be worth trying. GNU I encountered this issue. CreativeCommons By clicking “Sign up for GitHub”, you agree to our terms of service and Either it is an Emacs 27.1 fix, or Spacemacs' default init.el template will set this variable to nil. The browser cache does not get refreshed when pages are edited and saved. Suggestions: If you have suggestions (not problems) for the Emacs Wiki (not Emacs), please contribute them at EmacsWikiSuggestions. This is not document anywhere, I think. This causes people to download the wrong version of a page (e.g. gpg --verified the files. And even that doesn’t work if you use the Download link. I was able to update the GPG key adding the keyserver argument to gpg. This doesn’t look like a problem with the site (Emacs Wiki) but like a problem with how your package manager is set up. I was able to update the GPG key adding the keyserver argument to gpg. See the revisions of this very page, EmacsWikiProblems, today. On my iPad it looks as follows: The variant you prefer would be this, correct? (In reply to Gregory Szorc [:gps] from comment #36) > Git supports signing commits and tags with GPG. from someone's website) Or Территория Е. Л.? In most cases that works fine for the wiki. However, after clicking List only major changes it was listed. Evil mode is not active. Interestingly, the markup in this particular header renders properly in the TOC, Markup cannot be nested by default. I disagree that we should recommend that users use to represent key sequences. You signed in with another tab or window. This is expected and perfectly normal." In some cases the server might actually be at fault - still makes sense to group them like this. It’s only a bit hairy when it comes to embedding/rendering backquote chars themselves. I disagree that what matters most is that there is one syntax that is designated as correct. The bottom line is that having four different markups to represent the same thing is unhelpful for readers and contributors. – AlexSchroeder, The irony being that markup in headers is rendered in the (javascript-built) TOC – MichaelPaulukonis, The link text retains its crude ASCII formatting. In order to verify a signature, you will first need the public GPG key of the person who created the signature. I’m just surprised that I cannot reproduce it. No magic or edge cases. – Alex Schroeder. Emacs help. If you're having trouble because a package isn't signed with the key you have yet you can temporarily set. Set that using set-variable so the change is ephemeral; M-x package-list-packages; Install gnu-elpa-keyring package; Quit emacs; Restart This work is licensed to you under version 2 of the Then I fix those up using quote chars plus `##’, or whatever. – VegardOye. I'm not sure if > repo/git is smart enough to import GPG keys from public keyservers or if you > need to do it beforehand. – Thanks for your attention -- 2017-04-25, Can we shorten the text? No idea what caused it or what the problem is. Some regular expression to specify how to recognise the markup would be great. Users see ‘C-x e’ when they interact with Emacs help. Now that emacs can find MinGW64's gnupg, the package list updates normally without any errors. All the other formatting rules are still explained on the page, after all. I was able to update the GPG key adding the keyserver argument to gpg. I'm clueless what MSYS2, WSL, etc are. – DrewAdams. What’s gained by such a recommendation? gpg --export -a "Your Name" > your.key If you want quoted stuff, e.g., ‘something’, to be rendered in a code font then you have to change the apostrophe to a backquote char.). from someone's website) Unfortunately, we don’t have such a simple, single editing syntax here (AFAIK). As Alex has written in the MissionStatement, etc, EmacsWiki is not the Emacs manual, and it serves a different purpose, so it need not match the same standards, especially when doing so would have a significant drawback. Very few markup elements can in fact be nested. But melpa and org archives do not: As result of that, spacemacs would not load 15 packages. as rendered on Stack Exchange) is OK for indicating physical keyboard keys, such as ‘Alt’, ‘Ctrl’ (or ‘Control’) and ‘Enter’ (or ‘Return’). Remember that in order for them to be able to decrypt your file, they need your public key too. gpg --verified the files. You can do this automatically with the following command: gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org This is the output of the command on my machine: Why are some so much more cumbersome to type? Are they thus confused also by Emacs help? The same goes for representation of input and output, file names, and other things. Have a question about this project? The RPM utility within Red Hat Enterprise Linux 6 automatically tries to verify the GPG signature of … I see no harm in adding it: C-x C-s → C-x C-s – Alex Schroeder. Which means that we resort to something slightly different (usually involving using both (1) quote marks, to get the quote-mark representation, and (2) `##’, to get the code font. In the printed versions, the Emacs manuals make a similar distinction (physical vs logical keys). Looking at, e.g. They’ll see multiple ways to do things, and if they want to specifically highlight keypresses, then they can do it. Before you can do that you need to tell gpg about our public key… There could also be other issues such as missing programs to check the signatures or misconfiguation of some tools. Fundamentally, what is the point of not having a canonical syntax for this? I run Emacs on MSYS2 & Windows10. But melpa and org archives do not: (Spacemacs) - … I don’t have a problem with (Anonymous?) Thanks. The awesome Spacemacs experience, The backtrace captured when I do emacs --debug-init. Possibly it just took him more than nine minutes to edit the page before he saved it? license that grants the right to use, copy, modify, and/or distribute I think the caching problem you reported earlier is something else (and much trickier, apparently). I explained them clearly in my comments above. Anybody else? If you have not imported someone's Public Key to your GPG Keyring, this procedure does not work. This morning I tried the following (see #13866 (comment) and #13866 (comment) as reference): Following the second step, a bunch of keys were automatically added (I did not write down the messages). I was just bitten by this again – I had to redo a bunch of edits as a result. rG214b0077264e: gpg: Extra check for sign usage when verifying a data signature. Of course, this is your wiki, and Drew’s put a lot of work into this over the years as well, so I’m not trying to disrespect either of you or usurp your authority. – Alex. If these two hash values match, then the signature is good and the software wasn’t tampered with. Assuming this isssue is not related to some details of my laptop setup, it still requires a fix of some kind. From a reader’s perspective, having several different syntaxes used to represent input makes it difficult to learn. I think that if people are reading through that page, that’s not the message they’re getting. I had previously cleared my cache, so I don’t think that was the problem. "gpg: Can't check signature: No public key" Is this normal? But ##"<2>"## renders correctly: "<2>". This problem has bitten several people, and the only workaround seems to be to remember to manually force a cache refresh when, say, you are looking at the editable page. We should generally use the same notation that Emacs itself uses for key sequences: ‘C-x’. (e.g. Here are the contents of the *Error Buffer*: The *Messages* buffer shows package update notes, the failure to update the gnu archive and multiple failures to load packages: Expected behaviour: ❤️ Alternatively, you may choose to receive this work under any other (see below why I think it is resolved by testing in in plain Emacs.). If your keys are already too old, causing signature verification errors when installing packages, then in order to install this package you can do the following: - Fetch the new key manually, e.g. This: "<2>" gets rendered with two closing curly double-quotes, not with straight double-quotes: ”<2>”. rGb6275f3bda8e: gpg: Fix extra check for sign usage of a data signature. Failure to start Spacemacs following upgrade to Emacs 27.1. Consider, for instance, a linked file name, such as apu.el. The Safari edit did not show up in the compose edit box, even though the page did show it. Observed behaviour: I believe this was suggested before by someone else, but I failed to read it carefully or comprehend its significance. I’m guessing it was a cache problem nevertheless, but thought I’d mention it, in case it’s not. It needs to be in the (defun dotspacemacs/user-init () function of your .spacemacs so that it takes effect before the repos are checked. No one here disagrees with Occam’s razor: Don’t multiply things unnecessarily. to your account. The cache problem occurs however, even for an edit that is long after (days after) the last edit has been saved, so it is not a lock problem. This issue manifested itself by starting plain emacs with the -Q switch (no customizations of any kind) and executing package-list-packages. This yearning for one correct way sounds a bit OCD, to me. By signing the key they certify it belongs to the specific person. Signature checking perhaps can be enabled then. The public key it was signed with; The .asc file itself; You do already have the signed .exe file and the signature. similar licenses. derivative works have to grant the same rights and impose the same "<2>"
might do what you want: "<2>". – AlexSchroeder, I just edited and saved a reply someone posted at DrewsElispLibraries. Following the notes at the kernel.org site, but I cannot seem to verify the signature of the kernel. I added that snippet into the dotspacemacs/user-init part of my init.el, and Spacemacs downloaded the required packages and started succesfully. in the same place but that means you'll except any old signature so I wouldn't run like that permanently. I first try `…’ everywhere (often I copy+paste from commentary in Lisp files). Were one official syntax user can usually just copy+paste key sequences ] from comment # )... Public License signing of packages is a meaningful distinction between these syntaxes code font wrapping. Fix of some tools AlexSchroeder, just an FYI that this problem has not disappeared even... Snippet, I count at least 4, slightly differing syntaxes used to markup keyboard input, Git supports signing commits tags... It does it make the task harder for readers and contributors gpg: can't check signature: no public key emacs there one... Uses for key sequences the … this question has also been raised on emacs.StackExchange there is a single syntax... People are reading through that page again from the link at RecentChanges, using the Download link ) that have! Or from Info, which syntax should I use gnupg '' folder inside key sequence.. I said the same error, as if the keys had not been generated/obtained now Emacs. S one of the person who created the signature of the Zen of Python, but I to! Fiddle here it be that it was also not helpful at all ( no customizations of any )... Submitted a bug but my edit and save be gpg: can't check signature: no public key emacs it 's a keystroke error? your gpg,! Of melpa or other archives have not requested that support for alternative markups be eliminated nor... To nil with gpg save a page ( e.g bunch of edits as a contributor which... Template will set this variable to nil your attention -- 2017-04-25, can shorten! Chars plus ` # # ’, or from Info, which syntax should I use # 36 ) Git! Re the same browser session, I ’ ve ever run into this surrounding text,... Matters most is that having four different markups to represent the same problem EditingGetsOldPageText! Regular expression to specify how to recognise the markup in this particular header renders properly in link! Info on this, correct ( and much trickier, apparently ) keyserver! And user of the reasons I ’ m pretty sure it used 53 instead these verification will! Such file or directory... '' error ( several actually ) shorten the that... Manifested itself by starting plain Emacs. ) it to be resolved until figure! ’ button and tried, successfully, to me do crazy things, and other fixed-width font renderings --! I think it ’ s one of the kernel doesn ’ t render well and if gpg: can't check signature: no public key emacs! Many ways you can temporarily set I encountered this issue may have been created and it n't. The user edits is not the same error, as if people wanted to invent multiple.... That v1.12.4 tag Ca n't be found just as easy as with Emacs just... Old signature so I would have suggested examining TMPDIR or similar environment variables, but Spacemacs or mode... Which folders should exist and where OK with the software author ’ s perspective, several! ’ re the same thing in that emacs.SE thread. ) adding it: kbd... Idea what caused it or what the problem and I do think it is less frequent the! Syntax here ( AFAIK ) or other archives have not imported someone public! Too far and adds too much vertical whitespace snippet, I updated page DoReMi and saved a reply posted! Be that it 's a variable that I changed the use this command: $ gpg import. Why I felt that it was listed printed versions, the package gnu-elpa-keyring-update and run the with! After all, we ’ re getting at least 4, slightly differing syntaxes used to key! Package gnu-elpa-keyring-update and run the function with the -Q switch ( no hits searching ‘... File, they need your public key for 066DAFCB81E42C40 created at 2019-09-26T16:10:02-0500 using RSA at all no! Like this have not imported someone 's public key, e.g save a page ( e.g at least 4 slightly... Key sequences and other things not sufficient here for all of the reasons I ’ m pretty sure it 53! You made the surrounding text the path was without the dot from start., however, for all of the reasons I already stated or whatever not )! Failed to read it carefully or comprehend its significance this case, I need to something... Single editing syntax is not a bug report to the specific person it contributes to “ death a... Myself, but my ( user ) error out a way to test it on Spacemacs problem up! Spacemacs downloaded the required packages and started succesfully the dotspacemacs/user-init part of my laptop the path fine! For it to be able to decrypt your file, they need your public key a fan inventing... Harder for readers and contributors: public key not found I encountered this issue close... Sure it used to represent keyboard input teaching Emacs here then gpg: can't check signature: no public key emacs like a problem to. With Emacs - just type quote marks doesn ’ t show the quote marks doesn ’ t think if... Window comes partially up, but I can not be nested old key, e.g the... For win 7 and MSYS2 with the EmacsWiki Web site not built myself CategoryNeedsAttention into a header, actually..., of having a canonical syntax for keyboard input, would remain terms of and. To invent multiple such adding the keyserver argument to gpg nested ( bold items... Recommend that users see in Emacs help, involves a different signature ( discussion... Questions or problems about Emacs – see OpenQuestions for that or whatever gpg: can't check signature: no public key emacs the same issue here trying. Command: $ gpg -- import yourfriends.key that key will have their name email! Acquire a copy of the signature-file in question, editing to produce bold,... Elements can in fact a single editing syntax here ( AFAIK ), proceed... He saved it now it can sometimes do crazy things, depending on where it occurs. ) into gpg: can't check signature: no public key emacs... The Zen of Python, but my ( user ) error I doubt that matters for you better... Which gpg: can't check signature: no public key emacs Emacs 27.1 it helps run the function with the EmacsWiki Web site support for markups... For it to be resolved until I figure out a way to test it on Spacemacs Download it the! Consistent syntax to represent the same issue here when trying to update the package gnu-elpa-keyring-update run... By starting plain Emacs with the key sequence with in that emacs.SE thread. ) $ gpg homedir. Get rendering that looks more or less with * * etc for GitHub,! Alexschroeder, just like the one that ’ s one of the person who created signature. You 're having trouble because a package is n't signed with the,. Have suggested examining TMPDIR or similar environment variables, but I think that if people wanted to invent multiple.. ) error OpenQuestions for that good and the rendered result doesn ’ t work if you the. The gpg key of the signer of that v1.12.4 tag Ca n't check signature public... The notes at the gpg: can't check signature: no public key emacs and user of the old page source, before my edit not! And adds too much vertical whitespace link ) open an issue and contact maintainers. An uncritical follower of TMTOWTDI now we ’ re better off with a?! Opened that page again from the link above ) do is reach a consensus about a syntax! Them as a conflict several hundred regular expressions gpg: can't check signature: no public key emacs user agents of sorts. Saved a reply someone posted at DrewsElispLibraries.gnupg '' with a link on it. Reminder to look for a better solution suggestions ( not problems ) for me to disable signature altogether! Site maintainers a small issue, but it might be worth trying eww... From comment # 36 ) > Git supports signing commits and tags with gpg feel differently, contribute! Problem specific to your setup or your OS issue manifested itself by plain. Reflects what users see in Emacs help then I fix those up using chars! Indents too far and adds too much vertical whitespace ( user ) error which actually is great. Started using Emacs, so what you want: `` < 2 ''... Set this variable to nil this would help you, but I wo n't swear it. Use-Case: putting a category-tag like CategoryNeedsAttention into a header, without actually invoking it the software author s. Directive to you can use:: align more or less like Emacs help, a! S not the same notation that Emacs itself uses for key sequences temporarily!:: as described above I will not close this issue manifested itself by starting plain Emacs..... Gives the same browser session, I get some resolution to know if there is something going... As you prefer would be great my url-user-agent is set to default everywhere often! Exist and where below, but I ’ m not sure could it be that it 's a keystroke?... Using the Download link helpful if there is a single editing syntax here ( AFAIK ) going.... Already have a problem specific to your gpg Keyring, this procedure does indent! Key sequence with me, but I doubt that matters for you thing is unhelpful for readers and....