KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Academy Advanced Capstone 3.4

  • Advanced Capstone 3.4

    Posted by sandeepsarvan on October 27, 2023 at 12:00 am

    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.

     

     

    sandeepsarvan replied 9 months, 3 weeks ago 3 Members · 3 Replies
  • 3 Replies
  • sandeepsarvan

    Member
    October 28, 2023 at 12:00 am

    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.

  • 5031

    Member
    December 11, 2023 at 12:00 am

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

     

     

     

     

  • megan_mcp

    Administrator
    December 11, 2023 at 12:00 am

    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

     

Log in to reply.