a-Shell-commands icon indicating copy to clipboard operation
a-Shell-commands copied to clipboard

OpenSSL command

Open macOneOone opened this issue 1 year ago • 6 comments

@holzschu,

Is there any alternative for openSSL into a-Shell-commands?

Since we’ve ssh-keygen, it would be a great idea to have openSSL as built in package.

macOneOone avatar Sep 11 '24 19:09 macOneOone

What are the commands you're looking for? When I look at the source code for openSSL, I see only the library, no commands. I'm probably looking in the wrong place, but I need help.

holzschu avatar Sep 11 '24 20:09 holzschu

@holzschu, OpenSSL is also a great tool for self-assign certificate. Actually I was looking for RSA key generator. Even if looks like a library but it has a lot of useful feature that we may use in daily basis for an specific task. For instance I was looking OpenSSL for generate a asymmetric key for JWT test and I couldn’t found, so I had to check for a online service instead.

macOneOone avatar Sep 12 '24 09:09 macOneOone

I need OpenSSL as well for certificate management and revocation status check... iSH app have it but it's not compatible with shortcuts... I would rather prefer having that package on a-shell... please consider adding it :) Thanks a lot

moon-cacke avatar Jan 12 '25 04:01 moon-cacke

Or support a working pyopenssl package... thanks a lot :)

moon-cacke avatar Jan 12 '25 06:01 moon-cacke

this might be a cool party trick for you. ash supports shortcuts and ssh client. ish can be configured as an ssh server. [~/Documents]$ uname -aDarwin localhost 24.2.0 Darwin Kernel Version 24.2.0: Thu Nov 14 22:52:09 PST 2024; root:xnu-11215.62.3~1/RELEASE_ARM64_T8020 iPad8,11[~/Documents]$ ssh -p 22000 @.@localhost's password: Welcome to Alpine!You can install packages with: apk add You may change this message by editing /etc/motd.localhost:~# localhost:~# uname -aLinux localhost 4.20.69-ish SUPER AWESOME May 20 2023 23:41:32 i686 LinuxRobOn Jan 11, 2025, at 11:29 PM, moon-cacke @.> wrote: I need OpenSSL as well for certificate management and revocation status check... iSH app have it but it's not compatible with shortcuts... I would rather prefer having that package on a-shell... please consider adding it :)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

robughblah avatar Jan 12 '25 11:01 robughblah

this might be a cool party trick for you. ash supports shortcuts and ssh client. ish can be configured as an ssh server. [~/Documents]$ uname -aDarwin localhost 24.2.0 Darwin Kernel Version 24.2.0: Thu Nov 14 22:52:09 PST 2024; root:xnu-11215.62.3~1/RELEASE_ARM64_T8020 iPad8,11[~/Documents]$ ssh -p 22000 @.@localhost's password: Welcome to Alpine!You can install packages with: apk add You may change this message by editing /etc/motd.localhost:~# localhost:~# uname -aLinux localhost 4.20.69-ish SUPER AWESOME May 20 2023 23:41:32 i686 LinuxRobOn Jan 11, 2025, at 11:29 PM, moon-cacke @.> wrote: I need OpenSSL as well for certificate management and revocation status check... iSH app have it but it's not compatible with shortcuts... I would rather prefer having that package on a-shell... please consider adding it :) —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yeah that's a workaround but ish server does not remain on the background its not reliable...

For me currently I did wrote a shortcut that uses Libterm, Python, Curl, Google's DNS and Apple's OSCP server to check the status of my target cert without anything running in the backgroud, via an ocsp-request.der file generated on iSH's Openssl... relatively complicated as it imply reading OCSP's binary answer on a hex format and manually decode that... but its works... took me sometimes to figure out that shit... I will post a detailed article on it on my blog when I have the time and link that here...

moon-cacke avatar Jan 12 '25 11:01 moon-cacke