Skip to content

library generates stderr #11

@lacostej

Description

@lacostej

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions