I could use some advice. My husband passed away a year and a half ago. He mined bitcoins, which are saved on a USB flash drive requiring a password to open the drive and another password to open the bitcoin file.
Unfortunately, the answer is "probably not, unless either the passwords or short, or you know an awful lot about them."
If it's something like an IronKey (hardware encrypted USB drive), they literally self destruct after a few attempts - it's their whole point. So without knowing the password, no hope.
If it's an encrypted volume on a USB drive, you can try it as much as you want, but tries tend to be quite expensive (time-wise) to deter exactly that sort of attack.
And the Bitcoin software does a pretty darn good job of protecting the wallet password - again, a lot of time per attempt.
If you know anything about the passwords, and there's relatively low uncertainty, it's possible. If you have access to, say, all his other passwords, variations on those could be tried fairly cheaply to see if they work.
But if you know nothing about it, sadly, you're unlikely to get results for the value of the BTC involved.
I know people who work in this realm and have the hardware to engage in such attempts, but without a
lot of knowledge about the password, it's quite unlikely to be successful.