The plan covers implementing passkey (WebAuthn/FIDO2) authentication using Android's Credential Manager API, integrating with HackersPub's existing GraphQL API. Key flows:
Since you're on the feature/weblinks branch (which already adds HTTPS deep link support), the assetlinks.json is a critical piece. Here's what you need to know:
assetlinks.json must be hosted server-side at:
code
https://hackers.pub/.well-known/assetlinks.json
For passkey support specifically, you need the common.get_login_creds relation in addition to the common.handle_all_urls relation you likely already need for deep links:
This file is not managed in the Android repo — it must be deployed on the HackersPub server (the hackers.pub domain)
You need the SHA-256 fingerprint of your signing certificate (keytool -list -v -keystore your.keystore or from Play Console for release builds)
For debug builds, you'd need to include the debug keystore fingerprint too
The server team / repo maintainer needs to add this file
Would you like me to look at the current deep link configuration in this branch to see how it's set up, or help draft a PR/issue for the server-side assetlinks.json deployment?
User
I already have the keystore already. for fingerprint, Is it okay to manage it in public?
Assistant
Yes, SHA-256 certificate fingerprints are safe to publish publicly. They are derived from the public certificate, not the private key. Google itself requires you to put them in the publicly accessible assetlinks.json file — that's the whole point.
What you must never expose:
The keystore file itself (.jks / .keystore)
The keystore password
The key alias password
So committing the fingerprint in assetlinks.json, in your Android manifest, or in documentation is perfectly fine.
User
Okay. Lets generate assetlinks.json
Assistant
Let me find the keystore and check the current project setup first.
Assistant
The keystore isn't in the repo (good). I need the SHA-256 fingerprint from your keystore. Could you run this command? Replace the path and alias with your actual values:
Heads up: You just shared your keystore password and the full base64 keystore. These are sensitive — make sure they're not in any public context (e.g., a public issue/PR). Consider rotating the password if it was exposed.
Let me extract the SHA-256 fingerprint from the keystore.
Assistant
Got the fingerprint. Now let me check where to place the assetlinks.json and look at the existing deep link setup.
Assistant
I notice your HTTPS intent filters are missing android:autoVerify="true", which is needed for Android App Links to work automatically (without the assetlinks.json, users get a disambiguation dialog).
The assetlinks.json itself must be hosted server-side at https://hackers.pub/.well-known/assetlinks.json. I'll create it in the repo as a reference file you can send to the server maintainer.
Assistant
Created docs/.well-known/assetlinks.json with:
common.handle_all_urls — for Android App Links (deep links)
common.get_login_creds — for passkey/Credential Manager access
This file needs to be served at https://hackers.pub/.well-known/assetlinks.json by the HackersPub server
You should also add android:autoVerify="true" to your HTTPS intent filters in the manifest — without it, the deep links work but show a chooser dialog instead of opening the app directly. Want me to add that?
User
Yes, please
Assistant
Done. Added android:autoVerify="true" to all three HTTPS intent filters (lines 32, 41, 50). The custom scheme (hackerspub://verify) filter is left unchanged since auto-verify only applies to https links.