Shrugs All I know in regards to sharing them is that it's a Bad Idea(tm). iirc they fall under "Illegal Numbers" or whatever.You obviously know more about the Switch than I do, so I'll just trust you on the keys topic. Still, even if there's a viable method for dumping it, I think including them on the firmware makes life easier for users. I have no idea how (or if) copyright law applies to keys - can the keys by themselves even be considered intellectual property? And of course, different countries may have different laws.
About the es patches, yeah, I agree that something that specifically affects eshop tickets smells awfully like a piracy-specific thing, but I think the backup argument still applies. One may not have an internet connection that allows for re-downloading an entirely library if necessary (unstable, low bandwidth, data caps, etc...) and at some point in the future the servers will be shut down, so the ability to backup eshop titles may be necessary.
Well. Your ticket basically identifies it as your copy. If you're using a copy of a someone else's copy, it's a different copy from yours, and you're pirating.
If you're concerned about post-EoL or losing your titles, you can just backup your ticket db (or the games in general ig) occasionally