These are chat archives for gwydirsam/DickGrayson

2nd
May 2015
Rafael Moreno
@ralphie9224
May 02 2015 00:16
@gwydirsam pow() doesn't work because it overflows, and I can't get the gmp one to work. That's the answer to all my problems
Sam Gwydir
@gwydirsam
May 02 2015 00:18
Point me to the non working gmp version
it can't do exponents as big as we need
apparently. but what do i know
Sam Gwydir
@gwydirsam
May 02 2015 00:23
I meant like...a broken test or something
Rafael Moreno
@ralphie9224
May 02 2015 00:28
o. one sec. i'm trying out a last function.
didn't work
error: cannot convert ‘mpz_class {aka __gmp_expr<__mpz_struct [1], __mpz_struct [1]>}’ to ‘mpz_srcptr {aka const __mpz_struct*}’ for argument ‘2to ‘void __gmpz_powm_sec(mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr)’
       mpz_powm_sec(cipher.get_mpz_t(), pTxt, e, n);
Sam Gwydir
@gwydirsam
May 02 2015 01:32
you have to use the c interface
read the c++ part of the docs
Sam Gwydir
@gwydirsam
May 02 2015 02:33
The tests only link the library with that name ( and all external dependencies iirc) and that was a deliberate decision to force unit testing and not integration testing
Not really in a state to re evaluate that decision right now thougg
Kyle Wilson
@bluyam
May 02 2015 02:35
That's understandable, but to me it makes no sense to rewrite functions that Marty's already implemented.
Sam Gwydir
@gwydirsam
May 02 2015 02:35
I whole heartedly agree
Kyle Wilson
@bluyam
May 02 2015 02:36
Do you feel like we can get the linking sorted out tomorrow?
Sam Gwydir
@gwydirsam
May 02 2015 02:36
If martins working tonight he could probably come up with the correct solution at least in theory and I can implement it tomorrow
Kyle Wilson
@bluyam
May 02 2015 02:36
Alright, @Towerism?
Sam Gwydir
@gwydirsam
May 02 2015 02:37
I'm thinking dg img should link stego-*
And dgsnd the same
Kyle Wilson
@bluyam
May 02 2015 02:37
Meanwhile I'm going to continue writing code as if it were already linked
Sam Gwydir
@gwydirsam
May 02 2015 02:41
@Towerism the quick fix is to just link everything to all tests for tonight. If you can do that in your branch and @bluyam 's I'd appreciate it
Kyle Wilson
@bluyam
May 02 2015 18:26
Are we @/all good to meet at 3 today?
Sam Gwydir
@gwydirsam
May 02 2015 18:32
Can we push back an hour or two?
Kyle Wilson
@bluyam
May 02 2015 18:44
4:15 is the latest I can do
Sam Gwydir
@gwydirsam
May 02 2015 18:44
I'd be down
Kyle Wilson
@bluyam
May 02 2015 19:59
Alright, let's plan on skyping at 4:15 then.
Christopher Findeisen
@Atrus7
May 02 2015 20:10
You'll need to be ready
at 4:15. I won't be able to spend more than 45 min.
@ralphie9224 "I gotta clock out for the day and I got the wedding tomorrow. If you think its necessary to step in and write code for what I'm doing and deduct contributions I'm ok with it. Whatevers best for the team."
Kyle Wilson
@bluyam
May 02 2015 20:55
Same for me @Atrus7
Kyle Wilson
@bluyam
May 02 2015 21:09
Since everyone's online, let's go ahead and start the call.
Martin Fracker, Jr.
@Towerism
May 02 2015 21:23
$ ./stego-crypt --help
usage: munchkinsteg [hv] [-i <wav|bmp file> -o <wav|bmp file> -m <message file>]
                    ~OR~ [-e -i <wav|bmp file> -o <message file>]

-- Munchkinsteg help

Munchkinsteg is a BMP and WAV file steganography utility.
It can embed message files into music and image files as well as
extract messages that may be embedded in a music or image file and
store that message in a file.

Media types supported:
  - Windows BMP
  - PCM 16-bit WAV

Long       short  desc
--extract  -e     extract a message instead of embedding
--help     -h     show this screen
--input    -i     location of input bmp/wav file to embed in or extract from
--message  -m     location of file containing the message to embed
--output   -o     location of output stego file or extracted message file
--verbose  -v     verbosely describe stego process