About Iran & GitHub:
https://docs.github.com/en/site-policy/other-site-policies/g...
> GitHub now has a license from OFAC to provide cloud services to developers located or otherwise resident in Iran. This includes all public and private services for individuals and organizations, both free and paid.
> GitHub cloud services, both free and paid, are also generally available to developers located in Cuba.
Are you willing to pay for the true cost of maintaining these devices for ~50 years? The original price might have been 600 USD. I think the answer is regulation. Another idea: Sell the IP to a separate company who will support the legacy product for a fee. The original product will tell you how many years support is included (not lifetime). Later, there may be monthly charges. I doubt you will like that idea, but it is more honest. Germany has similar rules about car parts. Car manufs are required to make replacement parts available for X years after a car is manuf'd.