Skip to content

Commit 2660ab1

Browse files
committed
FIX: updated ppk codec using the new crypt port
1 parent bef5410 commit 2660ab1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/mezz/codec-ppk.reb

+4-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ register-codec [
6969
]
7070
key: join checksum join #{00000000} pass 'sha1
7171
checksum join #{00000001} pass 'sha1
72-
key: aes/decrypt/key copy/part key 32 none
73-
pri: aes/decrypt/stream key pri
72+
aes: open crypt:aes-256-cbc#decrypt
73+
modify aes 'key copy/part key 32
74+
pri: take write aes :pri
75+
close aes
7476
][
7577
;clean pass data in memory
7678
forall pass [pass/1: random 255]

0 commit comments

Comments
 (0)