Suppose I use TREZOR with Electrum or Bitcoin Core HWI and significantly change the gap limit to, let's say, 100 000 addresses. I then receive BTC to my 999 999-th address and want to send them somewhere else. Will I be able to sign such transaction in TREZOR?
The question is, basically, does changing gap limit in Electrum or getting addresses beyond gap limit in Bitcoin Core HWI "getkeypool" generates extra private keys on TREZOR itself? And is such behaviour the same with all hardware wallets?