How does Skype "protect" its password in the keychain on Mac OS?

When I open an entry in skype on the keychain and try to select the "Show password" checkbox, the password is not displayed, the checkbox will be unchecked. This behavior is described here and here .
If I run

security find-generic-password -ga .token.0  

from the terminal application, in the password line I see a long 48-digit hexadecimal number and a string, for example:

password: 0xAABAAA1AAA4AA5AAAAA6AAA3F6AACAACAAA77AAAAAAAAAAA  "\245\241\240...".   

If I run this terminal command for any other keychain entry, where I can see the password by checking the Keychain application, it prints a readable passowrd in this line.
I tried to get the password programmatically using the SSKeychain class and I get zero.

What API / technology does Skype use to protect this password?
I want to use this technique in my application to protect my passwords.

+4
source share

Source: https://habr.com/ru/post/1538353/


All Articles