Kevin - Yep, the BareBoxer is 100% legal - Whitney, Inyo, Yosemite, everywhere else. They look like the Garcia, I think they have similar locks.
They are fairly small, bear in mind, but if you pack right, that's on your side. Should be fine for two nights for two guys if you carry your first night's dinner in your pack. Permissible, just keep an eye on your vittles under treeline, as far as bears are concerned, and marmots above.
Small enough that I carry mine in some places not required just for peace of mind. Never been raided by bears - knock on wood. Various mountain vermin have done their best to chew it up - street cred.
They're cheap, too, I got mine for under $30 from harborfreight.com, but they seem to be sold out. My second link lists them at $39, free shipping if you spend $50.