fix: disable dropbear password auth in the built ipk #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/dropbear-disable-password-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream starts dropbear with no -s/-w (services/startup.sh), so it
offers password auth alongside publickey even once authorized_keys is
provisioned. The placeholder "alpine" password is only skipped in that
case, never actually disabled as an auth method - ssh -v confirms
dropbear still lists "password" as a continuing method after a
successful pubkey login.
Patch services/startup.sh right after checkout, before npm run
package builds the ipk, so the ipk's hash is correct by construction
instead of needing a rebuild/rehash after the fact. A grep -F
assertion fails the build loudly if upstream ever changes this line,
rather than silently doing nothing.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
f49cba5bd5to63907b1d3f