Skip to content

Assignment for Network and Computer Systems Security course at Nova fct

Notifications You must be signed in to change notification settings

AlexIova/srscAssignment02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srscAssignment02

MAC key

Keystore generated with: keytool -genseckey -alias mackey -keyalg hmacSHA1 -keysize 128 -keystore mykeystore.jceks -storetype jceks
Password: password
Then converted into PKCS12 format: keytool -importkeystore -srckeystore mykeystore.jceks -destkeystore mykeystore.pkcs12 -deststoretype pkcs12

Commands

Box

Compile:
javac -cp "../bcprov-jdk18on-172.jar:../bcprov-ext-jdk18on-172.jar:." *.java
Run:
java -cp "../bcprov-jdk18on-172.jar:../bcprov-ext-jdk18on-172.jar:." Box ./movies/monsters.dat.enc localhost 6789

StreamServer

Compile:
javac -cp "../bcprov-jdk18on-172.jar:../bcprov-ext-jdk18on-172.jar:." *.java
Run:
java -cp "../bcprov-jdk18on-172.jar:../bcprov-ext-jdk18on-172.jar:." StreamServer 6789

Creation certificate

Root certificate

openssl genrsa -out RootCA.pem 4096
openssl req -new -x509 -days 1500 -key RootCA.pem -out RootCA.crt

Other

Look at scripts

About

Assignment for Network and Computer Systems Security course at Nova fct

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published