vitorpamplona / amethyst

Nostr client for Android
MIT License
1.17k stars 158 forks source link

[BUG] NIP-05 verified profile shows red exclamation mark #1055

Closed neudabei closed 2 months ago

neudabei commented 2 months ago

Describe the bug The Android app shows profiles as not verified, when they do on other nostr apps.

To Reproduce Steps to reproduce the behavior:

  1. Go to user profile of npub1vppdwqmhlzhftstq5exturmry4u0pdfm93mqj4zfuuznhclxygfsdatk8w
  2. See a red exclamation mark next to the identifier address.

Expected behavior The user should have a checkmark on their profile as other verified profiles (see screenshots). Compare to https://coracle.social/npub1vppdwqmhlzhftstq5exturmry4u0pdfm93mqj4zfuuznhclxygfsdatk8w or the same account on Primal. On both apps the the user is shown as verified.

The identifier robert@cosanostr.com is backed up by the NIP-05 compliant implementation on cosanostr.com/.well-known/nostr.json

Video and Screenshots 7a3346c3-3cf4-4fea-aebf-590decb8da04 Screenshot_20240905_103107_Amethyst 5b3b9f5c-6d93-48fd-8d6d-929578d7e6ec Screenshot_20240905_102952_Amethyst

Device (please complete the following information):

davotoula commented 2 months ago

I'm looking into this

davotoula commented 2 months ago

It looks like a global redirect from cosanostr.com www.cosanostr.com.

NIP-05 specifically forbids any redirects.

Solutions:

davotoula commented 2 months ago

Feel free to ask any other questions of close if not an amethyst issue

neudabei commented 2 months ago

Thank you @davotoula I disabled the redirect.

KotlinGeekDev commented 2 months ago

Thank you @davotoula I disabled the redirect.

Nice! I think the issue can be closed then, @neudabei if the fix works. :)

neudabei commented 2 months ago

Removing the redirect works 🎉 Thanks for your help!