Lab 22 of Linux Level 2 Asks to Decrypt File that Does Not Exist

Hi! I was working on Linux Level 2 Lab 22 (Linux GPG Encryption) and one of the instruction that the lab has given me (to do in Storage Server) was:

Decrypt /home/decrypt_me.asc to /home/decrypted_me.txt . (Passphrase for decryption and encryption is kodekloud ).

So as usual I SSH-ed into the server and listed the files present on the directory. I found the keys to use but can’t find the file meant to be decrypted.

thor@jump-host ~$ ssh natasha@ststor01
The authenticity of host 'ststor01 (10.244.247.241)' can't be established.
ED25519 key fingerprint is SHA256:P+FPg4mWJOn7tZqOLh0y7yna7lK+91BJKWHlcE7KaUY.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'ststor01' (ED25519) to the list of known hosts.
natasha@ststor01's password: 
[natasha@ststor01 ~]$ ls /home
encrypt_me.txt  natasha  private_key.asc  public_key.asc
[natasha@ststor01 ~]$ cat /home/decrypt_me.asc
cat: /home/decrypt_me.asc: No such file or directory
[natasha@ststor01 ~]$ 

The instruction before the decryption task was to encrypt /home/encrypt_me.txt.

Encrypt /home/encrypt_me.txt to /home/encrypted_me.asc .

I tried to decrypt the output of the encryption thinking it might be a simple typo but that results in failed task still.

Anyone can confirm this was not error on my part? Thank you very much!

Hey @Keanu

Thanks for reporting this.

It appears there’s a bug in this lab.
I’ll inform the team to fix this, and inform you once this is resolved.

2 Likes

Hi @Keanu ,

Thanks for reporting this. The team has fixed the missing file issue. Please give it a try.

Regards,

1 Like

Hello @Tej-Singh-Rana,

I’ve re-done the lab and now it works on my end.

Thank you very much.