   parse_private_key : () ->
     @parse_public_key()
 
-    @encrypted_private_key = true
+    encrypted_private_key = true
     sym_enc_alg = null
 
-    if (@s2k_convention = @slice.read_uint8()) is 0 then @encrypted_private_key = false
+    if (@s2k_convention = @slice.read_uint8()) is 0 then encrypted_private_key = false
     else if @s2k_convention in [ C.s2k_convention_sha1 or C.s2k_convention.checksum ]
       sym_enc_alg = @slice.read_uint8()
       @s2k = (new S2K).read @slice

      else throw new Error "Unknown public key version: #{version}"

  #-------------------
  
  # 5.5.3.  Secret-Key Packet Formats
  #
  # See read_priv_key in openpgp.packet.keymaterial.js


class KeyMaterial extends Packet

  constructor : ({@key, @timestamp, @userid, @passphrase, @skm}) ->
    @timepacket = make_time_packet @timestamp
    @uidp = new UserID @userid
    super()
