These are chat archives for gwydirsam/DickGrayson

11th
May 2015
Sam Gwydir
@gwydirsam
May 11 2015 01:23
Yes sir
Has everyone got their stuff in?
Sam Gwydir
@gwydirsam
May 11 2015 01:30
Kyle I think I'm missing your section
and Rafa yours needs to be cleaned up a lotr
lot*
Sam Gwydir
@gwydirsam
May 11 2015 03:36
Raf let me know when you're here
Rafael Moreno
@ralphie9224
May 11 2015 03:37
here
Sam Gwydir
@gwydirsam
May 11 2015 03:37
okay
Rafael Moreno
@ralphie9224
May 11 2015 03:37
what am i reading from a file and what am i writing? reading the string and writing the encrypted message to another file?
Sam Gwydir
@gwydirsam
May 11 2015 03:37
exactly that
Rafael Moreno
@ralphie9224
May 11 2015 03:38
so just one read. one write.
using get opt
Sam Gwydir
@gwydirsam
May 11 2015 03:38
get opt is to get the arguments but yeah
Rafael Moreno
@ralphie9224
May 11 2015 03:38
i'm aware
fstream to read and write
unless i'm wrong...
Sam Gwydir
@gwydirsam
May 11 2015 03:39
ifstream to read ofstream to write
Rafael Moreno
@ralphie9224
May 11 2015 03:39
is the idea that the file can have an unlimited amount of messages and i'm encrypting and writing out each one?
Sam Gwydir
@gwydirsam
May 11 2015 03:39
fstream can do both though
no'
here's a link to the getopt manpage
no the input file already exists and contains whatever they want to be encrypted and it will be treated as one message
Rafael Moreno
@ralphie9224
May 11 2015 03:40
ok cool. so i'm reading one message from one file
what's the input file called? message.txt?
Sam Gwydir
@gwydirsam
May 11 2015 03:41
then the output file is assumed to not exist or the user doesnt't care about it and the encrypted message is written to it
it's called whatever the argument is
./rsa-crypt -i <message file path> -o <output file path>
it should probably be:
actually that's fine
and then have ./rsa-crypt -d <encrypted file path> and it prints to stdout
Rafael Moreno
@ralphie9224
May 11 2015 03:43
aahhhh. i gotcha. so i'm creating a file based off of the input name, reading the message in that, encrypting, decrypting, and passing the decrypted message into the file in that path which i create?
Sam Gwydir
@gwydirsam
May 11 2015 03:45
yeah.
either I'm confusing you..or you're confusing you....or I'm very scared about your code
Rafael Moreno
@ralphie9224
May 11 2015 03:46
brace yoursel
yourself
Sam Gwydir
@gwydirsam
May 11 2015 03:50
Don't worry I've been terrified for months in this class
Martin Fracker, Jr.
@Towerism
May 11 2015 03:50
our build broke at build #561, commit 6290d1e
looks like develop broke at no. 565
Sam Gwydir
@gwydirsam
May 11 2015 03:53
I can't really debug right now, I've got to make up the presentation and then study for another final I have tomorrow that is terrifying me
Martin Fracker, Jr.
@Towerism
May 11 2015 03:56
/home/travis/build/gwydirsam/DickGrayson/bin/rsa-attack/main.cc: In function ‘bool is_everything_correct(int, int, bool)’:
/home/travis/build/gwydirsam/DickGrayson/bin/rsa-attack/main.cc:47:3: error: expected ‘;’ before ‘}’ token
   }
   ^
@Atrus7
Sam Gwydir
@gwydirsam
May 11 2015 03:57
Oh I guess he didn't push that fix
hmm...I think that means he submitted it that way.
Neat.
Martin Fracker, Jr.
@Towerism
May 11 2015 03:58
lol
Sam Gwydir
@gwydirsam
May 11 2015 03:58
"I don't work weekends -- even when I break the build"
-- Chris "Weakday" Findeisen
Christopher Findeisen
@Atrus7
May 11 2015 05:06
I fixed that before the merge...
And I asked you to merge it in while we were merging everything into develop
And YOU said you did.
"yeah I merged it" --Sam "WhythurrErrurs"
Rafael Moreno
@ralphie9224
May 11 2015 05:09
ooo chris. kill 'em
Christopher Findeisen
@Atrus7
May 11 2015 05:21
At any rate, please turn in working demos to Sam as soon as possible.
We'll be using his computer to demo tomorrow
REMINDER
Today at 10:30am we have our demo, at the lecture hall. Everyone should be there before 10:00AM
Martin Fracker, Jr.
@Towerism
May 11 2015 05:25
Afaik Sam is putting together the whole demo
Sam Gwydir
@gwydirsam
May 11 2015 05:34
I'm not putting it together
you put it together, I just make sure it works
Sam Gwydir
@gwydirsam
May 11 2015 05:46
@ralphie9224 where is the public and private key written to file?
Sam Gwydir
@gwydirsam
May 11 2015 05:57
Hey declaring the meeting is at 9:45!@
Martin Fracker, Jr.
@Towerism
May 11 2015 05:59
Ah okay. Well if I'm just taking some b64 encoded cipher text then I'm done.
Sam Gwydir
@gwydirsam
May 11 2015 06:00
I hope so
I need some sleep I'll be up later
Rafael Moreno
@ralphie9224
May 11 2015 13:32
@gwydirsam in whatever directory the program is run in
at least based on the name i give it
Sam Gwydir
@gwydirsam
May 11 2015 14:06
ok
Martin Fracker, Jr.
@Towerism
May 11 2015 14:14
I'm heading to hrbb
Sam Gwydir
@gwydirsam
May 11 2015 14:21
hopping in shower
Kyle Wilson
@bluyam
May 11 2015 15:00
On my way
Kyle Wilson
@bluyam
May 11 2015 15:20
J