You are not logged in.
Pages: 1
Topic closed
Hi,
I'm trying to register for a wiki account, but can't seem to determine the correct answer for the anti-spam question
pacman -V | base32 | head -1
My Arch installation doesn't have a 'base32' utility, nor could I find one in the repos. I wrote my own in Python - it reads lines from stdin and outputs the base32 encoded equivalent - and used that to give the answer 'BI======' - which is the base32 encoding of the newline character at the start of the 'pacman -V' output, but it's rejected.
I tried a few other possibilities - base32-encoding the entire output, an empty string, and some others that were probably completely ridiculous, but to no avail.
Where am I going wrong?
Thanks,
Richard
Last edited by rwj (2016-02-03 16:45:30)
Offline
I think it is a typo and was supposed to be base64.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
This is not a typo. base32 is part of coreutils 8.25.
Offline
So right now, registration requires running [testing]? Hmm....
Offline
Well, I downloaded the coreutils-8.25 package and extracted the 'base32' executable to use.
This gave me 'BIQC4LJNFYQCAIBAEAQCAIBAEAQCAIBAEAQCAICQMFRW2YLOEB3DILRSFYYSALJANRUWEYLMOBWS', which was still rejected.
I'm running Pacman v4.2.1, which appears to be the latest version - any ideas?
Thanks!
Offline
I'm running Pacman v4.2.1, which appears to be the latest version - any ideas?
Thanks!
It's not, do a full system update. pacman 5 landed a few days ago.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Please read https://wiki.archlinux.org/index.php/ArchWiki:News too.
Offline
Wow great, right as I want to create an account in the wiki it doesnt work...
Offline
It still works, you just need to be running testing to answer the question.
If you don't want to run testing (and I advise that you don't), just be patient for a few days until coreutils 8.25 moves into core.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Or get the 8.25 from SVN and run makepkg:
https://wiki.archlinux.org/index.php/Ge … S_From_SVN
Last edited by Alad (2016-02-07 16:32:05)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
For all that want to know how: Download the coreutils 8.25 package (Austrian mirror: http://mirror1.htu.tugraz.at/archlinux/ … kg.tar.xz) and extract the binary from usr/bin/base32
Offline
You can also achieve it by reading the manuals for base64 because base32 work the same way
Offline
coreutils 8.25 is in [core] now
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I'm still suffering from the same problem.
I'm running the latest Pacman v5.0.1, libalpm v10.0.1 and coreutils 8.25.
In fact, I get the same answer as the one rwj posted above:
$ pacman -V | base32 | head -1
BIQC4LJNFYQCAIBAEAQCAIBAEAQCAIBAEAQCAICQMFRW2YLOEB3DKLRQFYYSALJANRUWEYLMOBWS
This answer isn't accepted. This is the output from pacman -V:
$ pacman -V
.--. Pacman v5.0.1 - libalpm v10.0.1
/ _.-' .-. .-. .-. Copyright (C) 2006-2016 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
Would be nice to be able to sign up.
Any help would be appreciated.
Last edited by crackhead (2016-02-28 22:10:19)
Offline
I'm afraid that the captcha is out of date. Try "pacman -V | sed s/v5.0.1/v5.0.0/ | base32 | head -1" instead, and if that works, feel free to file a bug report.
Offline
Including the said sed invocation doesn't change the output after piping through base32, also when the sed argument gets quoted.
So any news on this one? Is it by any chance sort of intentional due to the problems discussed in FS#47837?
Offline
The base32 encoded strings differ in exactly one character and it is on the first line, so the whole result is different. Does the sed middle term change the response of the captcha?
Offline
Indeed, I missed that single digit that's different, sorry for that.
The result after applying the sed command can be used to register.
Offline
I run into the same trouble. replacing "v5.0.1" with "v5.0.0" fixed it for me too. Couldn't the update of the answer for the arch wiki be automated?
Offline
Please change this ridiculous captcha, it's annoying as hell...
Offline
Please change this ridiculous captcha, it's annoying as hell...
no.
Closing this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed