You are not logged in.
Hello everyone,
I've noticed that the package 'codeblocks-svn' on AUR is quite some builds behind the latest svn version and I'd like to notify the maintainer (or adopt it if the maintainer is not active any more, due to the package having been last updated 6 months ago). I read on the wiki that you need an AUR account to post the notification, so I tried to make one. It asks for a PGP fingerprint and an SSH public key. So my questions are:
1) Do I need to generate separate keys (via gpg and ssh-keygen) or I can use the public key from my gpg keypair?
2) Every time I tried to enter an SSH public key (either the gpg one or the one from ssh-keygen) I'm getting the error: "The SSH public key is invalid." What does this mean and how can I fix it?
Please excuse me for the uber-noob questions, I have never needed keys before and everything I found out was from googling.
Thanks in advance,
lightspot21
Offline
1) you can use suitable existing key pair you already have and there is no need to make a pair specifically for the aur. It seems simpler to me to use your existing key. That said, I'm far from an expert (far even from proficient) with key use - so perhaps someone else can comment on best practices and the pros and cons.
2) Can you post here exactly what you are entering there - first ensure it is just the public key which is safe to share anywhere including a forum (never post your private key anywhere on a website).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Also on your endeavour in particular, as you are talking about a VCS package unless something is verifiably outdated and broken in regards to the PKGBUILD (and e.g. the build options it specifies need adjustments) there's no need for the maintainer to actively update the PKGBUILD. By their nature, VCS packages will pull the latest commit available and dynamically redefine the pkgver to represent the latest commit.
Last edited by V1del (2018-06-27 10:34:55)
Offline
@Trilby: I'm trying to post this as my SSH public key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFszlfQBEADUnfJ4x0QMdhDovP/cG16XvRpYmk6P908NPnkkFwFk0SgOAg1F
e1Bjhr6nOmd3RM1cjCNV3w+j+uLuGlgHHmDEh+muohjnfe483AJCTQFMis/NpYNB
5w+OGu3JKr1dBM2BBm1rSQe2JnB7C0Cjrkt/6M38rDJSLSYR7EhXJNt12XinTo9x
PQNirFNlcya8UEi95YAdreWjauBejouXfNkMEpZXMSwd7l/j0i+/SdQMAA0gwHYU
JNMI3OtwkbcWrkqqmtuDdXsXsMJUNdgjza32vRb//j+TRShCBcN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dXiifLanscqC0tISMk5Bk/eKrJpgBq
rc+KkrR81lyur7cUzlcz0Zk96/0Z3YniddEYKKjTOUkLnhNr4ngqTbOO/YwXLoK+
0EbTMeE6/crqyymbpl+qwS5Bg+muuttALzO6WSOmDGCir09LD+VRoU5Xl6xzo6xu
NUxVjk9AcV56sX1tZvwv3l4bn5sd+QfTorIU7+9cdlc3QoUKWxbG34Z9VyQlay/U
PSCcWP/kgEgzG7kpW9i3KCwuLwwOKDY0XZEqAMgmYosTDggcEjlyyBD6gtQ/mMa+
mKsLsAk47SGKpnFr/bcPcE4qP4vE/Ltj1XdzmIAX3MkLCvUwpFR857Sys5mHvI3W
DeRpP75HZJQ/8g5tzJZBMbCy+uaXOw6Scvo8i/WQAzito4JsQN7jMgIN/ovY0aZy
qYTdeV7yuCBQf6g3i4uOoC8NHJ+rRu5cTk46m0JiekqGgk/eQqVSAx8bC/rVdBWU
XWhtLH5FGJpsZAEmA/z5UXW2eewzv7NBbzMdJ6qeYaTP1+V5M4UMKkc/5/dY8blZ
Qz3I6gV02Zq6kIq1AzPJ3Q6BZ7QOLDbhBq+n6VrBpSg7V80wi5UY4QYynxbWZCrz
IlKWCLqiv1oAu00lK/68TyYm+LR8axPDcKD+NsKmKWd4Wf8FlgFWTQ==
=9PxO
-----END PGP PUBLIC KEY BLOCK-----(without the BEGIN and END blocks of course)
@V1del: When installing, it doesn't pull the latest version from the SVN (which is rev. 11417) but specifically the version 11023. So that's weird, if it is a VCS package.
Last edited by lightspot21 (2018-06-27 11:15:26)
Offline
Please use [ code ] tags when posting output
Regarding your remark, very unlikely there's no indication towards that happening in the PKGBUILD elaborate on "installing" what do you use to ascertain that? Again, the pkgver is redefined during the build and the final package will have the correct commit. I'm assuming you are using some AUR helper and don't know what is actually happening, I highly suggest you read the link I posted as well as:
https://wiki.archlinux.org/index.php/Ar … ackages.3F
https://wiki.archlinux.org/index.php/Makepkg
Offline
@V1del: Yep, you're right. I just saw in my helper's output (pamac) that the version changes to the latest commit, just before cloning. Thanks.
Offline
Getting back on track on the actual problem, you shouldn't have to touch that. Keep the file and the comment as is. However I don't think you can use PGP for SSH keys, though as Trilby I'm not that invested in the topic and might be wrong.
And in general if you simply want to use the notification cababilities you don't need the key yet. And you should always contact the maintainer first, via the comment section or an email, before requesting a package to be orphaned
Last edited by V1del (2018-06-27 11:33:23)
Offline
Be wary of copy paste issues if you are trying to select the text you see in an editor.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hello everyone,
I've noticed that the package 'codeblocks-svn' on AUR is quite some builds behind the latest svn version and I'd like to notify the maintainer (or adopt it if the maintainer is not active any more, due to the package having been last updated 6 months ago).
As mentioned, see the note in the AUR FAQ: https://wiki.archlinux.org/index.php/Ar … ld_I_do.3F
The package is not out of date.
I read on the wiki that you need an AUR account to post the notification, so I tried to make one. It asks for a PGP fingerprint and an SSH public key. So my questions are:
The PGP key is completely optional information, just like your real name, IRC nick, homepage, and timezone.
Required info is listed as "(required)", and there are only two such items: your username, and your email address.
The SSH key is needed in order to be a packager and upload packages to the AUR, but that is only one aspect of the AUR's functionality (and not the part you're trying to do). It is not mandatory to submit this info, but it does unlock some functionality...
1) Do I need to generate separate keys (via gpg and ssh-keygen) or I can use the public key from my gpg keypair?
2) Every time I tried to enter an SSH public key (either the gpg one or the one from ssh-keygen) I'm getting the error: "The SSH public key is invalid." What does this mean and how can I fix it?
PGP is not SSH, and PGP keys are not SSH keys.
You *cannot* use the PGP public key as an SSH public key, just like you *cannot* use a car to travel across a lake, you need a boat -- and vice versa. They're both useful methods of transportation/encryption, but they do it in totally different ways.
(I will ignore, for the moment, the fact that an authentication subkey in your PGP key can be converted into an SSH key using commands you've never heard of and probably don't care about given that for your purposes, you probably don't have a huge urge to store your SSH key inside of the GnuPG keyring data.)
Last edited by eschwartz (2018-06-27 20:22:16)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
just like you *cannot* use a car to travel across a lake
You've clearly never been ice fishing.
But I will agree about the "vice versa": I imagine it'd be very hard to use a lake to travel across a car ![]()
Last edited by Trilby (2018-06-27 20:19:19)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline