ruby-keychain 0.1.1
“Ruby wrapper for OS X's keychain”
Ruby dynamically defines a constantRuby dynamically invokes a method with send
SHA-25677c2747d0ddfdbf230b466eea6b8a473dc02dc6794e4239ecad430130b04c824
MaleculeH₂(Db₂F)
Evidence
23:24… each do |ruby_name|
24 unless method_defined?(ruby_name)
25 define_method ruby_name do
26 @attributes[ruby_name]
27 end
28 define_method ruby_name.to_s+'=' do |value|
29 @attributes[rub …
42:5… super(0).tap do |result|
43 attrs_or_pointer.each {|k,v| result.send("#{k}=", v)}
44 end
45 else
⋯8 lines
91:13… CF::Base.typecast(Sec.kSecClass)
92 #key speciying the list of keychains to search (kSecMatchSearchList)
93 SEARCH_LIST = CF::Base.typecast(Sec.kSecMatchSearchList)
94 #key indicating the list of sp …
137:33… e_name}GetTypeID", [], CF.find_type(:cftypeid)
138 @@type_map[Sec.send("#{type_name}GetTypeID")] = self
139 end
140 end
⋯6 lines
9:33… tching', [:pointer, :pointer], :osstatus
10
11 #@private
12 class KeychainSettings < FFI::Struct
13 layout :version, :uint32,
14 :lock_on_sleep, :uchar,
⋯5 lines
No evidence locations were recorded for this file. Raw result