Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : add sage package #397

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions sources/install/package_crypto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@

source common.sh

function install_crypto_apt_tools() {
# CODE-CHECK-WHITELIST=add-aliases
colorecho "Installing crypto apt tools"

fapt sagemath

add-history sage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add history commands please.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the line 12, i see add-history sage, so it's good, no ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you add : add-history, you need to create a file containing history commands.

example : https://github.com/ThePorgs/Exegol-images/blob/main/sources/assets/shells/history.d/azure-cli


add-test-command "sage --help"

add-to-list "sage,https://www.sagemath.org,SageMath is a free open-source mathematics software system licensed under the GPL."

}

function install_tls-map() {
colorecho "Installing TLS map"
rvm use 3.2.2@tls-map --create
Expand Down Expand Up @@ -46,6 +60,7 @@ function package_crypto() {
local start_time
local end_time
start_time=$(date +%s)
install_crypto_apt_tools
install_rsactftool # attack rsa
install_tls-map # CLI & library for mapping TLS cipher algorithm names: IANA, OpenSSL, GnuTLS, NSS
install_rsacracker # Powerful RSA cracker for CTFs. Supports RSA, X509, OPENSSH in PEM and DER formats.
Expand Down