Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make PGP key authentication more user-friendly #66

Closed
lafleurdeboum opened this issue Oct 23, 2020 · 7 comments
Closed

make PGP key authentication more user-friendly #66

lafleurdeboum opened this issue Oct 23, 2020 · 7 comments

Comments

@lafleurdeboum
Copy link

Hello

I followed instructions at https://indielogin.com/setup#pgp and succeeded in uploading my public key to my website and linking it (I had to export it with gpg --export --armor --output key.txt lafleur@boum.org).

Now I'm trying to authenticate at https://indieauth.com/ ; the page presents a very rewarding green button called GPG. When I click on it, a popup tells me to "sign this text with my private key".

So I tried gpg --clearsign, pasting the text, hitting enter and then Ctrl-D, and got big block as follows :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZSI6Imh0dHA6Ly93d3cubGFmbGV1ci5tYXJzbmV0Lm9yZy8iLCJwcm9maWxlIjoiaHR0cDovL3d3dy5sYWZsZXVyLm1hcnNuZXQub3JnL2xhZmxldXIua2V5LnR4dCIsInJlZGlyZWN0X3VyaSI6Imh0dHBzOi8vaW5kaWVhdXRoLmNvbS9zdWNjZXNzIiwic3RhdGUiOiIiLCJzY29wZSI6IiIsIm5vbmNlIjoyNTY2ODEsImNyZWF0ZWRfYXQiOjE2MDM0ODU3ODR9.kWy4heagPI-G2CHzA8Cko24GKvJ7smo8uZRovlXwcIU
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEbrTHqcZS5xuwcz+KSU4i7yXZm5QFAl+TQBwACgkQSU4i7yXZ
m5SDrAf/bqFJeSqyxfi9WHW0LHtCCiW11nGLb5yuyjhswk7rAvEKEss3gEU0Au2E
OyQG04fUHbexijkH3Ljj0FZYQ1EsTvOhjdufMcOtXhFTS2lfZuf8x3kNrQGVz6KZ
HVFsw9sP4x2MlJHh1NzsBNX8OVdN0RAh0KBXJx1YHeWgJza4XUzwe3cvHEreMyFw
fkA0PfJQbh3QUi3/IGrOxcBUVeoPTUK+vV5/D1CH2wjjPKVxGHQLH7H3WBlYqxGv
leWQoyUvQOwSzLTAtoYnEttY/XsJJE82Ysu+tMepSuSdlAiUEwlpJTrnomQCrpfn
ZQntiLpYEGTI7g0NxQ84HTv+kQwMww==
=aiXw
-----END PGP SIGNATURE-----

Alas, I was not able to log in, either pasting the whole block back in the popup, or pasting only the block between the ---BEGIN PGP SIGNATURE--- and the ---END PGP SIGNATURE---, or appending the same block after the text with the surrounding ---BEGIN and ---END (the three more obvious ways I could think of).

I think the popup should mention precisely what it's expecting. The site did succeed in guiding me until there quite nicely, but the PGP Verification popup is really under the level of accessibility that IndieAuth.com had achieved so far.

Hope this help in making the world a better place :-)

@lafleurdeboum lafleurdeboum changed the title make PGP key authentication KISSer make PGP key authentication more user-friendly Oct 23, 2020
@aaronpk
Copy link
Owner

aaronpk commented Oct 23, 2020

Thanks for the note! Have you tried the PGP option on indielogin.com? I don't remember if it's got the same usability problem you're describing here. indieauth.com is a different project and one that I'm eventually going to get rid of.

@lafleurdeboum
Copy link
Author

lafleurdeboum commented Oct 24, 2020 via email

@mmm111mmm
Copy link

mmm111mmm commented Mar 9, 2021

I'm still having this problem with indielogin.com.

I paste in the result of echo THE_PHRASE_TO_SIGN | gpg --clearsign with a key that is rsa3072.

And the resultant page, in both firefox and chrome, after trying multiple times, says:

The session expired

Can anyone help?

(indieauth.com works fine stragely...)

@u0nel
Copy link

u0nel commented Jun 25, 2021

I'm always using echo THE_PHRASE_TO_SIGN | gpg --sign --armor

@AndrewKvalheim
Copy link

I’ve just tried using IndieLogin.com for the first time and also am getting stuck at:

There was a problem!

I’m sure there is a problem but I have no idea what it is.

@sp1ff
Copy link

sp1ff commented Mar 19, 2023

Setup pgp authn on indieauth.com just fine. Here I'm just told "the session expired".

@aaronpk
Copy link
Owner

aaronpk commented Nov 6, 2023

Sorry, I'm having trouble getting things working with PGP keys so I'm just disabling it entirely for now.

@aaronpk aaronpk closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants