Run xbcrypt with only input and output file parameters:
./xbcrypt -i /home/mchawla/db_temp/xtrabackup_checkpoints -o xtrabackup_checkpoints.xbcrypt
Assertion "encrypt_iv_len > 0" failed at /home/mchawla/PXB-8.0/storage/innobase/xtrabackup/src/xbcrypt_common.cc:136
Aborted (core dumped)
Run xbcrypt with encrypt algorithm missing:
./xbcrypt -i /home/mchawla/db_temp/xtrabackup_checkpoints -o xtrabackup_checkpoints.xbcrypt -k mHU3Zs5sRcSB7zB/JP1BInPP5lgShKly
Assertion "encrypt_iv_len > 0" failed at /home/mchawla/PXB-8.0/storage/innobase/xtrabackup/src/xbcrypt_common.cc:136
Aborted (core dumped)
The xbcrypt binary should display an error message if any required parameter is missing or incorrect. It should not display an assertion failure and generate core for the user.