arch-rice/.local/bin/pyrsa-priv2pub

9 lines
232 B
Plaintext
Raw Normal View History

2022-10-04 21:27:41 +00:00
#!/usr/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from rsa.util import private_to_public
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(private_to_public())