Skip to content

Commit

Permalink
FIX: updated ppk codec using the new crypt port
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed May 25, 2022
1 parent bef5410 commit 2660ab1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mezz/codec-ppk.reb
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ register-codec [
]
key: join checksum join #{00000000} pass 'sha1
checksum join #{00000001} pass 'sha1
key: aes/decrypt/key copy/part key 32 none
pri: aes/decrypt/stream key pri
aes: open crypt:aes-256-cbc#decrypt
modify aes 'key copy/part key 32
pri: take write aes :pri
close aes
][
;clean pass data in memory
forall pass [pass/1: random 255]
Expand Down

0 comments on commit 2660ab1

Please sign in to comment.