summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tried to implement s2k. but ruby is tooo slow!HEADmastero2011-06-308-11/+74
| | | | i guess the next thing will be to write a wrapper for libgcrypt
* added signature packeto2011-06-302-2/+14
|
* added some tests for secret keys and key uido2011-06-308-6/+73
|
* implemented secretKey parsing which is quite annoying. the lengtho2011-06-3023-132/+279
| | | | | has to be calculated since all length info is encrypted together with the secret key.
* major rewrite.o2011-06-3031-233/+184
| | | | parsing packets is now done useing bindata gem
* ok now we parse rsa public keys :)o2011-06-278-13/+35
|
* moo2011-06-275-26/+4
|
* some more cleanupo2011-06-2715-20/+39
|
* various tweaks. the correct parsing modules are now loaded as soon as ao2011-06-2721-85/+85
| | | | packet receives a parse message
* fixed handling of partial sized headerso2011-06-273-49/+65
|
* fixed some problems with tagged subclasseso2011-06-273-4/+10
|
* trying to implement a bytestream where we can remove bytes.o2011-06-2610-21/+144
| | | | | | | this will simplify the parsing since e.g. Packet can already determine the size of itself while removeing all intermediate size headers. a subclass can then just read from the stream without having to care abouth headers or gaps in the data stream.
* added some crypto algo objectso2011-06-267-1/+54
|
* major cleanupo2011-06-2612-94/+75
| | | | implemented with_tag protocol to select a subclass depending on a tag.
* fix integer precisiono2011-06-263-12/+12
|
* fixed some stuffo2011-06-264-22/+55
|
* encrypted messages (SymmetricEncryptedAndIntegrityProtectedData) apparently ↵o2011-06-2611-15/+100
| | | | | | use new header format and partial size headers :/ -> added all that stuff gpg mixes old and new header format ...
* parsing of private keys works aswello2011-06-265-0/+40
|
* added a test for the parsingo2011-06-253-3/+24
|
* fixed parsing of headerso2011-06-2515-53/+111
| | | | | | | | | | apparently gpg uses old header format. so for now just implement this. the size type is encoded in the two lsb of the header we can now already find all the packets in: FPG::Parse::Parser.parse( File.open( "spec/fixtures/test.bin.pub" ) )
* setup some parsing infrastructure.o2011-06-259-90/+221
| | | | | | | | | | | | | the plan is to have classes fore every packet type and (in a separate module) the same classes again, but extended by a parsing module such that each packet can parse itself. detect first packet headers and parse its size. can be used e.g. with: FPG::Parse::Parser.parse( File.open( "spec/fixtures/test.bin.pub" ) ) will create a Signature Packet with size 13
* initial commit. there is already a radix64 implementationo2011-06-2524-0/+700