Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

library generates stderr #11

Open
lacostej opened this issue Nov 29, 2023 · 0 comments
Open

library generates stderr #11

lacostej opened this issue Nov 29, 2023 · 0 comments

Comments

@lacostej
Copy link

As seen in fastlane/fastlane#21668, we are observing error messages being printed out in the CI console

One way to reproduce this

require 'security'
name="match_https://github.com/fastlane/fastlane/tree/master/certificates"
Security::InternetPassword.delete(server: name)

Potential output:

3.2.2 :005 > Security::InternetPassword.delete(server: name)
keychain: "/Users/lacostej/Library/Keychains/login.keychain-db"
version: 512                                                              
class: "inet"                                                             
attributes:                                                               
    0x00000007 <blob>="match_https://github.com/fastlane/fastlane/tree/master/certificates"
    0x00000008 <blob>=<NULL>                                              
    "acct"<blob>=<NULL>                                                   
    "atyp"<blob>="dflt"                                                   
    "cdat"<timedate>=0x32303233313132393130303532385A00  "20231129100528Z\000"
    "crtr"<uint32>=<NULL>                                                 
    "cusi"<sint32>=<NULL>                                                 
    "desc"<blob>=<NULL>                                                   
    "icmt"<blob>=<NULL>                                                   
    "invi"<sint32>=<NULL>                                                 
    "mdat"<timedate>=0x32303233313132393130303532385A00  "20231129100528Z\000"
    "nega"<sint32>=<NULL>
    "path"<blob>=<NULL>
    "port"<uint32>=0x00000000 
    "prot"<blob>=<NULL>
    "ptcl"<uint32>=0x00000000 
    "scrp"<sint32>=<NULL>
    "sdmn"<blob>=<NULL>
    "srvr"<blob>="match_https://github.com/fastlane/fastlane/tree/master/certificates"
    "type"<uint32>=<NULL>
password has been deleted.
 => true 
3.2.2 :006 > Security::InternetPassword.delete(server: name)
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
 => false 

Maybe other methods do generate stderr as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant