Advanced Capstone 3.4

Hello,

I am having trouble with the exercise 3.4 in the Advanced Capstone Project.

I have used the code:

hdbH".z.pw:{[user;pswd] $[.Q.sha1[pswd] ~.perm.users[user][`password]; 1b; 0b]}" 

 

I had passed 3.2 and 3.3 but when I ran the text section after running the code above, I’m failing 3.3 which I’d passed earlier on:

Could someone help me out please?

Thanks in advance.

 

 

Hi  ,

Your code for 3.4 looks correct to me.

Have you checked that your handle hdbH is still open? you could check this with

hdbH “1+1”

or 

hdbH"tables"

I wouldn’t be able to say if something has gone wrong elsewhere without seeing the rest of your code for section 3. Feel free to send me it via DM if you need some more help.

Thanks,

Laura

Hey ,

I found the problem, I think. The .perm.users table was not keyed. Once I keyed it properly, the whole exercise ran without any issues, and now I’ve got the certificate too.

Thank you for reaching out anyway.

I’ve got the exact same issue but my table appears to be keyed before its saved to the hdb but not after 

 

 

Hi  !

In order to execute across a handle, you must either use symbol or string execution.

So instead of having:

 

hdbH .perm.users

 

Try using the string method:

 

hdbH “.perm.users”

 

Let me know if this works!

Thanks,

Megan