The help tells me I should unlock my encrypted wallet:

```
> help migratewallet

...
Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
```

But when I do so and attempt to migrate the wallet I'm told that I've entered my password for needlessly:

```
> migratewallet

Error: migratewallet on encrypted wallets is currently unsupported.
```

<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

v24.0.1

return nullptr;
        }
        if (!internal) {
            for (const auto& script  script_pub_keys) {
                CTxDestination dest;
                if (ExtractDestination(script, dest)) {
                    SetAddressBook(dest, label, "receive");
                }
            }
        }
    }
    // Save the  to DB
    spk_man->WriteDescriptor();
    return spk_man;
}
bool CWalletMigrateToSQLite(bilingual_str& error)
{
    AssertLockHeld(cs_);
    WalletLogPrintf("Migrating  storage database from BerkeleyDB to SQLite.\n");
    if (m_database->Format() == "sqlite") {
        error = _("Error This  already uses SQLite");
        return false;
    }
    // Get all of the records for DB type migration
    stdunique_ptr<DatabaseBatch> batch = m_database->MakeBatch();
    stdunique_ptr<DatabaseCursor> cursor = batch->GetNewCursor();
    stdvector<stdpair<SerializeData, SerializeData>> records;
    if (!cursor) {
        error = _("Error Unable to begin reading all records in the database");
        return false;