This forum is provided to promote discussion amongst students enrolled in
CITS3007 Secure Coding.
If posting a question, it's suggested you check first whether your question
is answered in the unit Frequently Asked Questions (FAQ) list, and use the search box
(on the right) to see if an answer to your question has already been posted.
Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
Hi Arran,
I found this function declaration in crypto.h
void vigenere decrypt(char range low, char range high, int key, const char cipher text, char plain text);
can I assume that the key is supposed to be passed as a string instead of an int?...
No worries. Just to explain why it's done this way often, example presentations of e.g. the Caesar cipher will operate only on uppercase alphabetic characters, and everything else is "passed through". But sometimes you might want to treat, say, pu...
Hi again,
Yes, sorry for not clarifying, the section that you mentioned is what I was referring to. My understanding is that we should encrypt and decrypt according to those range low and range high values, incorporating wraparound. I have since had a...
Hi,
Can you clarify, what part of the spec or code are you referring to, when you say "The project only mentions that the plain text must be between this range"? I can't spot anything in the spec which imposes such a requirement.
Amongst other things, ...
Hi,
Are we able to assume that the given range does not apply to the output of an encrypt function call or do we need to fit the output of the function to match this range?
For example, if encrypting from 'A' to 'Z', can the cipher text go outside thes...
Hi all,
The project spec is now available on the website at https cits3007.github.io assessment project , together with a zipped header file.
I've adjusted the due date to 23 May (week 12), as I wanted to allow more than 2 weeks to do it in. Studen...
Hi Hugo,
Apologies for the delay. Yes, the project will be out tomorrow morning - and I'll extend the deadline by a week. (I'll amend the dates on the website shortly.)
Cheers
Arran
Hi Arran,
I have two questions about the project
- Will it be released this week?
- Will it be due on the 16th of May like the unit outline says?
Thankyou in advance
Hi,
The material we actually covered in week 7 (last week) is already up, and the week 8 material will go up prior to the lecture. I normally try to ensure lecture slides are up on the Monday or Tuesday, but during particularly busy weeks (for instanc...
Hi all,
I mentioned in lectures that you don't need to be a security expert to identify a vulnerability plenty of people have discovered vulnerabilities in existing programs armed with nothing more than a general knowledge of good coding practices...
Hi all,
The mid-semester test should now be visible to you on Moodle (though it can't be started until it unlocks at 5pm) let me know if it's not showing up.
The number of questions and marks are listed in the test instructions. (Also, if you're no...
Hi all,
Just a note that I won't be available for my usual office hours today (4 5pm), as I'll be preparing the mid-semester test for release. If you need to meet with me, just email instead to arrange a suitable time.
Cheers
Arran
Hi,
Short answer the default shell in your VM was deleted by a command you typed; the best thing to do is throw away your current VM instance, and start a new one.
Longer answer
The reason you're seeing those errors is due to a failed, prior command t...
Hi everyone )
I'm currently having some issues while attempting Lab 5. Every time I try to install zsh, I encounter a whole lot of errors which I have attached as an image below. Then when I attempt to switch from dash to zsh and run 'sh --version', ...
Hi all,
Just a reminder that if for some reason you're regularly unable to attend a lab session, you should email me and let me know.
Keeping up with the lab content is an important part of the unit, and (especially for the project) it's a good idea to...
Hi all,
I'll discuss the upcoming mid-semester test and the project a bit more in tomorrow's lecture, but here is some basic information about them.
Mid-sem test
The test will have mostly multi choice and short answer questions, similar to the week ...